mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
Running EUV requires the Copy lang item, so adjust privacy tests.
This commit is contained in:
parent
ecd9c10e1a
commit
09a7bc55db
@ -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…
Reference in New Issue
Block a user