Running EUV requires the Copy lang item, so adjust privacy tests.
This commit is contained in:
parent
ecd9c10e1a
commit
09a7bc55db
2 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
|||
#[lang="sized"]
|
||||
pub trait Sized {}
|
||||
|
||||
#[lang="copy"]
|
||||
pub trait Copy {}
|
||||
|
||||
mod bar {
|
||||
// shouldn't bring in too much
|
||||
pub use self::glob::*;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#![no_std] // makes debugging this test *a lot* easier (during resolve)
|
||||
|
||||
#[lang = "sized"] pub trait Sized for Sized? {}
|
||||
#[lang="copy"] pub trait Copy {}
|
||||
|
||||
// Test to make sure that private items imported through globs remain private
|
||||
// when they're used.
|
||||
|
|
Loading…
Add table
Reference in a new issue