1
Fork 0

make the test only deal with edition flags

This commit is contained in:
Douglas Campos 2018-07-16 15:09:01 +00:00
parent 28c5f3ea55
commit 232bd4c7ab
2 changed files with 4 additions and 3 deletions

View file

@ -8,8 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(crate_visibility_modifier)]
#![feature(crate_in_paths)]
// edition:2018
#![feature(edition_2018_preview)]
mod bar {
crate struct Foo;

View file

@ -1,5 +1,5 @@
error[E0425]: cannot find value `Foo` in this scope
--> $DIR/crate-in-paths.rs:19:5
--> $DIR/crate-in-paths.rs:20:5
|
LL | Foo;
| ^^^ not found in this scope