Add more no-op tests

This commit is contained in:
Jonas Schievink 2022-04-13 15:47:33 +02:00
parent cde2a1de36
commit b9dd7db817

View File

@ -396,6 +396,22 @@ fn f() {
fn f(x: u8) {
if x $0
}
"#,
);
type_char_noop(
'=',
r#"
fn f(x: u8) {
if x $0 {}
}
"#,
);
type_char_noop(
'=',
r#"
fn f(x: u8) {
if x $0 0 {}
}
"#,
);
type_char_noop(