File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
librustc_incremental/persist Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ impl FindAllAttrs<'tcx> {
610
610
for attr in & self . found_attrs {
611
611
if !checked_attrs. contains ( & attr. id ) {
612
612
self . tcx . sess . span_err ( attr. span , & format ! ( "found unchecked \
613
- #[rustc_dirty]/ #[rustc_clean] attribute") ) ;
613
+ ` #[rustc_dirty]` / ` #[rustc_clean]` attribute") ) ;
614
614
}
615
615
}
616
616
}
Original file line number Diff line number Diff line change 11
11
fn main ( ) {
12
12
13
13
#[ rustc_dirty( label="Hir" , cfg="cfail2" ) ]
14
- //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]`/ `#[rustc_clean]` attribute
14
+ //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
15
15
{
16
16
// empty block
17
17
}
18
18
19
19
#[ rustc_clean( label="Hir" , cfg="cfail2" ) ]
20
- //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]`/ `#[rustc_clean]` attribute
20
+ //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
21
21
{
22
22
// empty block
23
23
}
24
24
}
25
25
26
26
struct _Struct {
27
27
#[ rustc_dirty( label="Hir" , cfg="cfail2" ) ]
28
- //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]`/ `#[rustc_clean]` attribute
28
+ //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
29
29
_field1 : i32 ,
30
30
31
31
#[ rustc_clean( label="Hir" , cfg="cfail2" ) ]
32
- //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]`/ `#[rustc_clean]` attribute
32
+ //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
33
33
_field2 : i32 ,
34
34
}
You can’t perform that action at this time.
0 commit comments