error: cannot apply unary operator `!` to type `&'static str` --> $DIR/issue-28308.rs:12:5 | 12 | assert!("foo"); | ^^^^^^^^^^^^^^^ | = note: this error originates in a macro from the standard library error: aborting due to previous error