diff options
| author | Tommy Ip <hkmp7tommy@gmail.com> | 2017-12-10 21:12:28 +0000 |
|---|---|---|
| committer | Tommy Ip <hkmp7tommy@gmail.com> | 2017-12-10 21:14:57 +0000 |
| commit | 2ad5bf056c88283613cec925e4d025c4d4b89c55 (patch) | |
| tree | b55748832c30162f37d7e4da77f433f97d4f00ea /src/test/ui/span | |
| parent | 76d9b309aeee9615f3049e7bf95083bdee4ebe01 (diff) | |
| download | rust-2ad5bf056c88283613cec925e4d025c4d4b89c55.tar.gz rust-2ad5bf056c88283613cec925e4d025c4d4b89c55.zip | |
Update ui tests' line numbers.
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/macro-span-replacement.stderr | 10 | ||||
| -rw-r--r-- | src/test/ui/span/multispan-import-lint.stderr | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/test/ui/span/macro-span-replacement.stderr b/src/test/ui/span/macro-span-replacement.stderr index ed961896306..2a0e71e192c 100644 --- a/src/test/ui/span/macro-span-replacement.stderr +++ b/src/test/ui/span/macro-span-replacement.stderr @@ -1,16 +1,16 @@ warning: struct is never used: `S` - --> $DIR/macro-span-replacement.rs:15:9 + --> $DIR/macro-span-replacement.rs:17:9 | -15 | $b $a; //~ WARN struct is never used +17 | $b $a; //~ WARN struct is never used | ^^^^^^ ... -20 | m!(S struct); +22 | m!(S struct); | ------------- in this macro invocation | note: lint level defined here - --> $DIR/macro-span-replacement.rs:11:9 + --> $DIR/macro-span-replacement.rs:13:9 | -11 | #![warn(unused)] +13 | #![warn(unused)] | ^^^^^^ = note: #[warn(dead_code)] implied by #[warn(unused)] diff --git a/src/test/ui/span/multispan-import-lint.stderr b/src/test/ui/span/multispan-import-lint.stderr index 1fecdea7d0d..e2c1d9cdc79 100644 --- a/src/test/ui/span/multispan-import-lint.stderr +++ b/src/test/ui/span/multispan-import-lint.stderr @@ -1,13 +1,13 @@ warning: unused imports: `Eq`, `Ord`, `PartialEq`, `PartialOrd` - --> $DIR/multispan-import-lint.rs:13:16 + --> $DIR/multispan-import-lint.rs:15:16 | -13 | use std::cmp::{Eq, Ord, min, PartialEq, PartialOrd}; +15 | use std::cmp::{Eq, Ord, min, PartialEq, PartialOrd}; | ^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^ | note: lint level defined here - --> $DIR/multispan-import-lint.rs:11:9 + --> $DIR/multispan-import-lint.rs:13:9 | -11 | #![warn(unused)] +13 | #![warn(unused)] | ^^^^^^ = note: #[warn(unused_imports)] implied by #[warn(unused)] |
