Skip to content

Commit 232bd4c

Browse files
committed
make the test only deal with edition flags
1 parent 28c5f3e commit 232bd4c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/test/ui/crate-in-paths.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(crate_visibility_modifier)]
12-
#![feature(crate_in_paths)]
11+
// edition:2018
12+
13+
#![feature(edition_2018_preview)]
1314

1415
mod bar {
1516
crate struct Foo;

src/test/ui/crate-in-paths.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0425]: cannot find value `Foo` in this scope
2-
--> $DIR/crate-in-paths.rs:19:5
2+
--> $DIR/crate-in-paths.rs:20:5
33
|
44
LL | Foo;
55
| ^^^ not found in this scope

0 commit comments

Comments
 (0)