Bless tests.
This commit is contained in:
parent
1fb9cad50a
commit
1ebf6d1242
2 changed files with 6 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue