We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecd9c10 commit 09a7bc5Copy full SHA for 09a7bc5
src/test/compile-fail/privacy1.rs
@@ -14,6 +14,9 @@
14
#[lang="sized"]
15
pub trait Sized {}
16
17
+#[lang="copy"]
18
+pub trait Copy {}
19
+
20
mod bar {
21
// shouldn't bring in too much
22
pub use self::glob::*;
src/test/compile-fail/privacy4.rs
@@ -12,6 +12,7 @@
12
#![no_std] // makes debugging this test *a lot* easier (during resolve)
13
#[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.
0 commit comments