From e41ef3643596440f459cfd6ec1b4997f9d123dc2 Mon Sep 17 00:00:00 2001 From: Jakob Degen Date: Mon, 25 Oct 2021 23:14:48 -0400 Subject: [PATCH] Fix line numbers in test --- .../ui/suggestions/suggest-tryinto-edition-change.stderr | 8 ++++---- 1 file 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 = 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 = 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 = 0_i32.try_into(); | ^^^^^^^^ method not found in `i32`