Skip to content

Commit cb5be1b

Browse files
committed
Fix test
1 parent 517083f commit cb5be1b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/test/ui/codemap_tests/issue-28308.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010

1111
fn main() {
1212
assert!("foo");
13+
//~^ ERROR cannot apply unary operator `!`
1314
}

src/test/ui/codemap_tests/issue-28308.stderr

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str`
33
|
44
LL | assert!("foo");
55
| ^^^^^^^^^^^^^^^
6-
|
7-
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
86

97
error: aborting due to previous error
108

0 commit comments

Comments
 (0)