Skip to content

Commit 2b978f0

Browse files
committed
tests: fix fallout of merging ast::ViewItem into ast::Item.
1 parent 4e67407 commit 2b978f0

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

src/test/compile-fail/issue-9957.rs

-15
This file was deleted.

src/test/compile-fail/unnecessary-private.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
fn main() {
12+
pub use std::uint; //~ ERROR: visibility has no effect
1213
pub struct A; //~ ERROR: visibility has no effect
1314
pub enum B {} //~ ERROR: visibility has no effect
1415
pub trait C { //~ ERROR: visibility has no effect

src/test/compile-fail/view-items-at-top.rs

-19
This file was deleted.

0 commit comments

Comments
 (0)