mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
update clippy stderr file
This commit is contained in:
parent
1f069c0ce7
commit
6fc3850847
1 changed files with 10 additions and 0 deletions
10
tests/ui/crashes/ice-5497.stderr
Normal file
10
tests/ui/crashes/ice-5497.stderr
Normal file
|
@ -0,0 +1,10 @@
|
|||
error: this operation will panic at runtime
|
||||
--> $DIR/ice-5497.rs:9:22
|
||||
|
|
||||
LL | const OOB: i32 = [1][1] + T::OOB;
|
||||
| ^^^^^^ index out of bounds: the length is 1 but the index is 1
|
||||
|
|
||||
= note: `#[deny(unconditional_panic)]` on by default
|
||||
|
||||
error: aborting due to previous error
|
||||
|
Loading…
Add table
Reference in a new issue