]>
git.proxmox.com Git - rustc.git/blob - tests/ui/macros/assert.rs
1 // revisions: with-generic-asset without-generic-asset
2 // [with-generic-asset] compile-flags: --cfg feature="generic_assert"
5 assert
!(); //~ ERROR requires a boolean expression
6 assert
!(struct); //~ ERROR expected expression
7 debug_assert
!(); //~ ERROR requires a boolean expression
8 debug_assert
!(struct); //~ ERROR expected expression