diff options
| author | varkor <github@varkor.com> | 2020-09-15 20:34:50 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2020-09-26 13:34:49 +0100 |
| commit | 8eb42ba0fbd0326a8ffbe6ec2ff0abffaffa1a8f (patch) | |
| tree | 31e563a5873cceb9977c1a5efc12c4a985a3bb62 /src/test/ui/const_prop | |
| parent | 6f9a8a7f9b9732c55511d2a2a3914e8feafc7c52 (diff) | |
| download | rust-8eb42ba0fbd0326a8ffbe6ec2ff0abffaffa1a8f.tar.gz rust-8eb42ba0fbd0326a8ffbe6ec2ff0abffaffa1a8f.zip | |
Make invalid integer operation messages consistent
Diffstat (limited to 'src/test/ui/const_prop')
| -rw-r--r-- | src/test/ui/const_prop/ice-assert-fail-div-by-zero.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const_prop/ice-assert-fail-div-by-zero.stderr b/src/test/ui/const_prop/ice-assert-fail-div-by-zero.stderr index e2a3e4db8ab..276fb716d42 100644 --- a/src/test/ui/const_prop/ice-assert-fail-div-by-zero.stderr +++ b/src/test/ui/const_prop/ice-assert-fail-div-by-zero.stderr @@ -2,7 +2,7 @@ warning: this operation will panic at runtime --> $DIR/ice-assert-fail-div-by-zero.rs:11:5 | LL | f.0 / 0; - | ^^^^^^^ attempt to divide _ by zero + | ^^^^^^^ attempt to divide `_` by zero | note: the lint level is defined here --> $DIR/ice-assert-fail-div-by-zero.rs:5:9 |
