Skip to content

Commit

Permalink
do not run rustfix for future-prelude-collision-shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jun 21, 2021
1 parent b18704d commit 3dc47e2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 35 deletions.
33 changes: 0 additions & 33 deletions src/test/ui/rust-2021/future-prelude-collision-shadow.fixed

This file was deleted.

1 change: 0 additions & 1 deletion src/test/ui/rust-2021/future-prelude-collision-shadow.rs
@@ -1,4 +1,3 @@
// run-rustfix
// edition:2018
#![warn(future_prelude_collision)]
#![allow(dead_code)]
Expand Down
@@ -1,5 +1,5 @@
error[E0599]: no method named `try_into` found for type `u8` in the current scope
--> $DIR/future-prelude-collision-shadow.rs:28:26
--> $DIR/future-prelude-collision-shadow.rs:27:26
|
LL | let _: u32 = 3u8.try_into().unwrap();
| ^^^^^^^^ method not found in `u8`
Expand Down

0 comments on commit 3dc47e2

Please sign in to comment.