Skip to content

Commit 3dc47e2

Browse files
committed
do not run rustfix for future-prelude-collision-shadow
1 parent b18704d commit 3dc47e2

File tree

3 files changed

+1
-35
lines changed

3 files changed

+1
-35
lines changed

src/test/ui/rust-2021/future-prelude-collision-shadow.fixed

-33
This file was deleted.

src/test/ui/rust-2021/future-prelude-collision-shadow.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// run-rustfix
21
// edition:2018
32
#![warn(future_prelude_collision)]
43
#![allow(dead_code)]

src/test/ui/rust-2021/future-prelude-collision-shadow.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `try_into` found for type `u8` in the current scope
2-
--> $DIR/future-prelude-collision-shadow.rs:28:26
2+
--> $DIR/future-prelude-collision-shadow.rs:27:26
33
|
44
LL | let _: u32 = 3u8.try_into().unwrap();
55
| ^^^^^^^^ method not found in `u8`

0 commit comments

Comments
 (0)