We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdad790 commit 16d0e56Copy full SHA for 16d0e56
tests/ui/panic_in_result_fn_assertions.stderr
@@ -14,7 +14,7 @@ note: return Err() instead of panicking
14
--> $DIR/panic_in_result_fn_assertions.rs:9:9
15
|
16
LL | assert!(x == 5, "wrong argument");
17
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
19
20
error: used `unimplemented!()`, `unreachable!()`, `todo!()`, `panic!()` or assertion in a function that returns `Result`
0 commit comments