Skip to content

Commit

Permalink
Fix syntax typo in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
anp committed Oct 7, 2019
1 parent c49966b commit cca58d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/error_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit cca58d1

Please sign in to comment.