Skip to content

Commit

Permalink
Update reference file
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroto committed Dec 7, 2020
1 parent bdad790 commit 16d0e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/panic_in_result_fn_assertions.stderr
Expand Up @@ -14,7 +14,7 @@ note: return Err() instead of panicking
--> $DIR/panic_in_result_fn_assertions.rs:9:9
|
LL | assert!(x == 5, "wrong argument");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: used `unimplemented!()`, `unreachable!()`, `todo!()`, `panic!()` or assertion in a function that returns `Result`
Expand Down

0 comments on commit 16d0e56

Please sign in to comment.