]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/macros/assert-matches-macro-msg.rs
43be9532f5d1c068e70ea61217a6335476783ca8
2 // error-pattern:panicked at 'assertion failed: `(left matches right)`
3 // error-pattern: left: `2`
4 // error-pattern:right: `3`: 1 + 1 definitely should be 3'
5 // ignore-emscripten no processes
7 #![feature(assert_matches)]
10 assert_matches
!(1 + 1, 3, "1 + 1 definitely should be 3");