Fix syntax typo in error message.
This commit is contained in:
parent
c49966bb1b
commit
cca58d1321
1 changed files with 1 additions and 1 deletions
|
@ -4960,7 +4960,7 @@ trait Foo {
|
|||
Erroneous example with a trait method declaration:
|
||||
|
||||
```compile_fail,E0738
|
||||
#[!feature(track_caller)]
|
||||
#![feature(track_caller)]
|
||||
|
||||
trait Foo {
|
||||
fn bar(&self) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue