Address the new odd backticks tidy lint in compiler/
This commit is contained in:
@@ -41,7 +41,7 @@ impl Add for Foo {
|
||||
|
||||
fn main() {
|
||||
let mut x: Foo = Foo(5);
|
||||
x += Foo(7); // error, `+= cannot be applied to the type `Foo`
|
||||
x += Foo(7); // error, `+=` cannot be applied to the type `Foo`
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -3,14 +3,14 @@ An unknown tool name was found in a scoped lint.
|
||||
Erroneous code examples:
|
||||
|
||||
```compile_fail,E0710
|
||||
#[allow(clipp::filter_map)] // error!`
|
||||
#[allow(clipp::filter_map)] // error!
|
||||
fn main() {
|
||||
// business logic
|
||||
}
|
||||
```
|
||||
|
||||
```compile_fail,E0710
|
||||
#[warn(clipp::filter_map)] // error!`
|
||||
#[warn(clipp::filter_map)] // error!
|
||||
fn main() {
|
||||
// business logic
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user