Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkuu committed Mar 7, 2018
1 parent 517083f commit cb5be1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/test/ui/codemap_tests/issue-28308.rs
Expand Up @@ -10,4 +10,5 @@

fn main() {
assert!("foo");
//~^ ERROR cannot apply unary operator `!`
}
2 changes: 0 additions & 2 deletions src/test/ui/codemap_tests/issue-28308.stderr
Expand Up @@ -3,8 +3,6 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str`
|
LL | assert!("foo");
| ^^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to previous error

Expand Down

0 comments on commit cb5be1b

Please sign in to comment.