We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e67407 commit 2b978f0Copy full SHA for 2b978f0
src/test/compile-fail/issue-9957.rs
src/test/compile-fail/unnecessary-private.rs
@@ -1,4 +1,4 @@
1
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
2
// file at the top-level directory of this distribution and at
3
// http://rust-lang.org/COPYRIGHT.
4
//
@@ -9,6 +9,7 @@
9
// except according to those terms.
10
11
fn main() {
12
+ pub use std::uint; //~ ERROR: visibility has no effect
13
pub struct A; //~ ERROR: visibility has no effect
14
pub enum B {} //~ ERROR: visibility has no effect
15
pub trait C { //~ ERROR: visibility has no effect
src/test/compile-fail/view-items-at-top.rs
0 commit comments