make the test only deal with edition flags
This commit is contained in:
parent
28c5f3ea55
commit
232bd4c7ab
2 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue