Bless tests.

This commit is contained in:
Camille GILLOT 2021-05-11 18:45:57 +02:00
parent 1fb9cad50a
commit 1ebf6d1242
2 changed files with 6 additions and 6 deletions

View File

@ -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,
}

View File

@ -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