X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fpanic.stderr;h=786a20c031b318492072bc6c5d993e82706e426a;hb=77794e91e219b85663cf693d35f677e564151420;hp=165c33cacb7da49a6301905f2ba73d4ae8b44887;hpb=e7a3e03c6e7dd2c342847adec6b3531324195d31;p=rust.git diff --git a/tests/ui/panic.stderr b/tests/ui/panic.stderr index 165c33cacb7..786a20c031b 100644 --- a/tests/ui/panic.stderr +++ b/tests/ui/panic.stderr @@ -24,5 +24,14 @@ error: you probably are missing some parameter in your format string 15 | panic!("{{{this}}}"); | ^^^^^^^^^^^^ -error: aborting due to 4 previous errors +error: `unimplemented` should not be present in production code + --> $DIR/panic.rs:57:5 + | +57 | unimplemented!(); + | ^^^^^^^^^^^^^^^^^ + | + = note: `-D unimplemented` implied by `-D warnings` + = 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 5 previous errors