]> git.lizzy.rs Git - rust.git/blob - tests/ui/codemap_tests/issue-28308.stderr
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / ui / codemap_tests / issue-28308.stderr
1 error[E0600]: cannot apply unary operator `!` to type `&'static str`
2   --> $DIR/issue-28308.rs:2:5
3    |
4 LL |     assert!("foo");
5    |     ^^^^^^^^^^^^^^ cannot apply unary operator `!`
6    |
7    = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0600`.