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> {
610610 for attr in & self . found_attrs {
611611 if !checked_attrs. contains ( & attr. id ) {
612612 self . tcx . sess . span_err ( attr. span , & format ! ( "found unchecked \
613- #[rustc_dirty]/ #[rustc_clean] attribute") ) ;
613+ ` #[rustc_dirty]` / ` #[rustc_clean]` attribute") ) ;
614614 }
615615 }
616616 }
Original file line number Diff line number Diff line change 1111fn main ( ) {
1212
1313 #[ 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
1515 {
1616 // empty block
1717 }
1818
1919 #[ 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
2121 {
2222 // empty block
2323 }
2424}
2525
2626struct _Struct {
2727 #[ 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
2929 _field1 : i32 ,
3030
3131 #[ 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
3333 _field2 : i32 ,
3434}
You can’t perform that action at this time.
0 commit comments