Move some run-pass attribute tests to ui

This commit is contained in:
Vadim Petrochenkov 2019-06-08 17:42:58 +03:00
parent 6a66491883
commit 8e8ab49bca
14 changed files with 10 additions and 8 deletions

View File

@ -1,6 +1,6 @@
// compile-pass
// pretty-expanded FIXME #23616
#![allow(unused)]
#![feature(rustc_attrs)]
#![feature(test)]

View File

@ -1,6 +1,6 @@
// compile-pass
// pretty-expanded FIXME #23616
#![allow(unused)]
#![feature(rustc_attrs)]
#![feature(test)]

View File

@ -1,6 +1,6 @@
// compile-pass
// pretty-expanded FIXME #23616
#![allow(unused)]
#![feature(rustc_attrs)]
#[rustc_dummy(bar)]

View File

@ -1,6 +1,6 @@
// compile-pass
// pp-exact - Make sure we actually print the attributes
#![allow(unused)]
#![feature(rustc_attrs)]
struct Cat {

View File

@ -1,4 +1,5 @@
#![allow(unused)]
// compile-pass
#![feature(rustc_attrs)]
struct Cat {

View File

@ -2,7 +2,8 @@
// for completeness since .rs files linked from .rc files support this
// notation to specify their module's attributes
#![allow(unused)]
// compile-pass
#![feature(rustc_attrs)]
#![rustc_dummy = "val"]

View File

@ -1,7 +1,7 @@
// compile-pass
// pp-exact - Make sure we print all the attributes
// pretty-expanded FIXME #23616
#![allow(unused)]
#![feature(rustc_attrs)]
#[rustc_dummy]

View File

@ -1,7 +1,7 @@
// compile-pass
// pp-exact - Make sure we actually print the attributes
// pretty-expanded FIXME #23616
#![allow(unused)]
#![allow(non_camel_case_types)]
#![feature(rustc_attrs)]