mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
Bless tests.
This commit is contained in:
parent
1fb9cad50a
commit
1ebf6d1242
@ -6,9 +6,9 @@
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(dead_code)]
|
||||
#![allow(unused_variables)]
|
||||
#![rustc_if_this_changed(hir_crate)]
|
||||
fn main() {}
|
||||
|
||||
#[rustc_if_this_changed]
|
||||
struct Foo<T> {
|
||||
f: T,
|
||||
}
|
||||
|
@ -14,16 +14,16 @@ LL | #[plugin_registrar]
|
||||
|
||||
error: multiple plugin registration functions found
|
||||
|
|
||||
note: one is here
|
||||
--> $DIR/multiple-plugin-registrars.rs:7:1
|
||||
|
|
||||
LL | pub fn one() {}
|
||||
| ^^^^^^^^^^^^^^^
|
||||
note: one is here
|
||||
--> $DIR/multiple-plugin-registrars.rs:10:1
|
||||
|
|
||||
LL | pub fn two() {}
|
||||
| ^^^^^^^^^^^^^^^
|
||||
note: one is here
|
||||
--> $DIR/multiple-plugin-registrars.rs:7:1
|
||||
|
|
||||
LL | pub fn one() {}
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error; 2 warnings emitted
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user