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
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![feature(crate_visibility_modifier)]
|
// edition:2018
|
||||||
#![feature(crate_in_paths)]
|
|
||||||
|
#![feature(edition_2018_preview)]
|
||||||
|
|
||||||
mod bar {
|
mod bar {
|
||||||
crate struct Foo;
|
crate struct Foo;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
error[E0425]: cannot find value `Foo` in this scope
|
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;
|
LL | Foo;
|
||||||
| ^^^ not found in this scope
|
| ^^^ not found in this scope
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue