make it semantic error
This commit is contained in:
parent
bf3ca5979e
commit
abb181dfd9
7 changed files with 22 additions and 1 deletions
|
@ -572,6 +572,7 @@ pub fn check_crate(krate: &ast::Crate, sess: &Session) {
|
|||
}
|
||||
};
|
||||
}
|
||||
gate_all!(c_str_literals, "`c\"..\"` literals are experimental");
|
||||
gate_all!(
|
||||
if_let_guard,
|
||||
"`if let` guards are experimental",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue