normalize use of backticks in compiler messages for librustc_incremental
https://github.com/rust-lang/rust/issues/60532
This commit is contained in:
parent
95b1fe560d
commit
60ca55cbda
4 changed files with 9 additions and 9 deletions
|
|
@ -11,13 +11,13 @@
|
|||
fn main() {
|
||||
|
||||
#[rustc_dirty(label="Hir", cfg="cfail2")]
|
||||
//[cfail2]~^ ERROR found unchecked #[rustc_dirty]/#[rustc_clean] attribute
|
||||
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
|
||||
{
|
||||
// empty block
|
||||
}
|
||||
|
||||
#[rustc_clean(label="Hir", cfg="cfail2")]
|
||||
//[cfail2]~^ ERROR found unchecked #[rustc_dirty]/#[rustc_clean] attribute
|
||||
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
|
||||
{
|
||||
// empty block
|
||||
}
|
||||
|
|
@ -25,10 +25,10 @@ fn main() {
|
|||
|
||||
struct _Struct {
|
||||
#[rustc_dirty(label="Hir", cfg="cfail2")]
|
||||
//[cfail2]~^ ERROR found unchecked #[rustc_dirty]/#[rustc_clean] attribute
|
||||
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
|
||||
_field1: i32,
|
||||
|
||||
#[rustc_clean(label="Hir", cfg="cfail2")]
|
||||
//[cfail2]~^ ERROR found unchecked #[rustc_dirty]/#[rustc_clean] attribute
|
||||
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
|
||||
_field2: i32,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue