1
Fork 0

make it semantic error

This commit is contained in:
Deadbeef 2023-03-10 14:18:58 +00:00
parent bf3ca5979e
commit abb181dfd9
7 changed files with 22 additions and 1 deletions

View file

@ -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",