Address the new odd backticks tidy lint in compiler/
This commit is contained in:
parent
7a686bf41d
commit
7f4cc178f0
9 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue