File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
#![ feature( rustc_attrs) ]
7
7
#![ allow( dead_code) ]
8
8
#![ allow( unused_variables) ]
9
- #![ rustc_if_this_changed( hir_crate) ]
10
9
fn main ( ) { }
11
10
11
+ #[ rustc_if_this_changed]
12
12
struct Foo < T > {
13
13
f : T ,
14
14
}
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ LL | #[plugin_registrar]
15
15
error: multiple plugin registration functions found
16
16
|
17
17
note: one is here
18
- --> $DIR/multiple-plugin-registrars.rs:7 :1
18
+ --> $DIR/multiple-plugin-registrars.rs:10 :1
19
19
|
20
- LL | pub fn one () {}
20
+ LL | pub fn two () {}
21
21
| ^^^^^^^^^^^^^^^
22
22
note: one is here
23
- --> $DIR/multiple-plugin-registrars.rs:10 :1
23
+ --> $DIR/multiple-plugin-registrars.rs:7 :1
24
24
|
25
- LL | pub fn two () {}
25
+ LL | pub fn one () {}
26
26
| ^^^^^^^^^^^^^^^
27
27
28
28
error: aborting due to previous error; 2 warnings emitted
You can’t perform that action at this time.
0 commit comments