Skip to content

Commit e41ef36

Browse files
committed
Fix line numbers in test
1 parent 6ce3ae4 commit e41ef36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/ui/suggestions/suggest-tryinto-edition-change.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0433]: failed to resolve: use of undeclared type `TryFrom`
2-
--> $DIR/suggest-tryinto-edition-change.rs:14:30
2+
--> $DIR/suggest-tryinto-edition-change.rs:16:30
33
|
44
LL | let _i: Result<i16, _> = TryFrom::try_from(0_i32);
55
| ^^^^^^^ not found in this scope
@@ -11,7 +11,7 @@ LL | use core::convert::TryFrom;
1111
|
1212

1313
error[E0433]: failed to resolve: use of undeclared type `TryInto`
14-
--> $DIR/suggest-tryinto-edition-change.rs:19:30
14+
--> $DIR/suggest-tryinto-edition-change.rs:21:30
1515
|
1616
LL | let _i: Result<i16, _> = TryInto::try_into(0_i32);
1717
| ^^^^^^^ not found in this scope
@@ -23,7 +23,7 @@ LL | use core::convert::TryInto;
2323
|
2424

2525
error[E0433]: failed to resolve: use of undeclared type `FromIterator`
26-
--> $DIR/suggest-tryinto-edition-change.rs:24:18
26+
--> $DIR/suggest-tryinto-edition-change.rs:26:18
2727
|
2828
LL | let _i: () = FromIterator::from_iter(core::iter::empty());
2929
| ^^^^^^^^^^^^
@@ -44,7 +44,7 @@ LL | use core::iter::FromIterator;
4444
|
4545

4646
error[E0599]: no method named `try_into` found for type `i32` in the current scope
47-
--> $DIR/suggest-tryinto-edition-change.rs:9:36
47+
--> $DIR/suggest-tryinto-edition-change.rs:11:36
4848
|
4949
LL | let _i: Result<i16, _> = 0_i32.try_into();
5050
| ^^^^^^^^ method not found in `i32`

0 commit comments

Comments
 (0)