Skip to content

Commit 8098ac1

Browse files
committed
Add test for assert!() hygiene in edition 2021.
1 parent a1c41e9 commit 8098ac1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// check-pass
2+
// edition:2021
3+
4+
#![no_implicit_prelude]
5+
6+
fn main() {
7+
assert!(true, "hoi");
8+
assert!(false, "hoi {}", 123);
9+
}

0 commit comments

Comments
 (0)