diff options
| author | Jakob Degen <jakob@degen.com> | 2021-10-25 23:14:48 -0400 |
|---|---|---|
| committer | Jakob Degen <jakob@degen.com> | 2021-10-26 22:17:01 -0400 |
| commit | e41ef3643596440f459cfd6ec1b4997f9d123dc2 (patch) | |
| tree | de29844292cc96586d607221dca3445833cadea9 | |
| parent | 6ce3ae4b73b678c8c50fc9844ede20aaa214ad10 (diff) | |
| download | rust-e41ef3643596440f459cfd6ec1b4997f9d123dc2.tar.gz rust-e41ef3643596440f459cfd6ec1b4997f9d123dc2.zip | |
Fix line numbers in test
| -rw-r--r-- | src/test/ui/suggestions/suggest-tryinto-edition-change.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/suggestions/suggest-tryinto-edition-change.stderr b/src/test/ui/suggestions/suggest-tryinto-edition-change.stderr index e7013063d45..e27c532dcf0 100644 --- a/src/test/ui/suggestions/suggest-tryinto-edition-change.stderr +++ b/src/test/ui/suggestions/suggest-tryinto-edition-change.stderr @@ -1,5 +1,5 @@ error[E0433]: failed to resolve: use of undeclared type `TryFrom` - --> $DIR/suggest-tryinto-edition-change.rs:14:30 + --> $DIR/suggest-tryinto-edition-change.rs:16:30 | LL | let _i: Result<i16, _> = TryFrom::try_from(0_i32); | ^^^^^^^ not found in this scope @@ -11,7 +11,7 @@ LL | use core::convert::TryFrom; | error[E0433]: failed to resolve: use of undeclared type `TryInto` - --> $DIR/suggest-tryinto-edition-change.rs:19:30 + --> $DIR/suggest-tryinto-edition-change.rs:21:30 | LL | let _i: Result<i16, _> = TryInto::try_into(0_i32); | ^^^^^^^ not found in this scope @@ -23,7 +23,7 @@ LL | use core::convert::TryInto; | error[E0433]: failed to resolve: use of undeclared type `FromIterator` - --> $DIR/suggest-tryinto-edition-change.rs:24:18 + --> $DIR/suggest-tryinto-edition-change.rs:26:18 | LL | let _i: () = FromIterator::from_iter(core::iter::empty()); | ^^^^^^^^^^^^ @@ -44,7 +44,7 @@ LL | use core::iter::FromIterator; | error[E0599]: no method named `try_into` found for type `i32` in the current scope - --> $DIR/suggest-tryinto-edition-change.rs:9:36 + --> $DIR/suggest-tryinto-edition-change.rs:11:36 | LL | let _i: Result<i16, _> = 0_i32.try_into(); | ^^^^^^^^ method not found in `i32` |
