]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/assert.rs
Merge commit 'a8385522ade6f67853edac730b5bf164ddb298fd' into simd-remove-autosplats
[rust.git] / src / test / ui / macros / assert.rs
1 fn main() {
2     assert!();  //~ ERROR requires a boolean expression
3     assert!(struct); //~ ERROR expected expression
4     debug_assert!(); //~ ERROR requires a boolean expression
5     debug_assert!(struct); //~ ERROR expected expression
6 }