Skip to content

Commit 8e8ab49

Browse files
committed
Move some run-pass attribute tests to ui
1 parent 6a66491 commit 8e8ab49

14 files changed

+10
-8
lines changed

src/test/run-pass/attr-before-view-item.rs renamed to src/test/ui/attributes/attr-before-view-item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// compile-pass
12
// pretty-expanded FIXME #23616
23

3-
#![allow(unused)]
44
#![feature(rustc_attrs)]
55
#![feature(test)]
66

src/test/run-pass/attr-before-view-item2.rs renamed to src/test/ui/attributes/attr-before-view-item2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// compile-pass
12
// pretty-expanded FIXME #23616
23

3-
#![allow(unused)]
44
#![feature(rustc_attrs)]
55
#![feature(test)]
66

src/test/run-pass/attr-mix-new.rs renamed to src/test/ui/attributes/attr-mix-new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// compile-pass
12
// pretty-expanded FIXME #23616
23

3-
#![allow(unused)]
44
#![feature(rustc_attrs)]
55

66
#[rustc_dummy(bar)]

src/test/run-pass/structs-enums/class-attributes-1.rs renamed to src/test/ui/attributes/class-attributes-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// compile-pass
12
// pp-exact - Make sure we actually print the attributes
23

3-
#![allow(unused)]
44
#![feature(rustc_attrs)]
55

66
struct Cat {

0 commit comments

Comments
 (0)