Running EUV requires the Copy lang item, so adjust privacy tests.

This commit is contained in:
Niko Matsakis 2015-01-02 04:14:21 -05:00
parent ecd9c10e1a
commit 09a7bc55db
2 changed files with 4 additions and 0 deletions

View File

@ -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::*;

View File

@ -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.