Skip to content

Commit e16ce80

Browse files
committed
fix error code test
1 parent 4a79633 commit e16ce80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/error_codes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2473,7 +2473,7 @@ like in the following example:
24732473
# trait Trait {
24742474
# fn foo(&self);
24752475
# }
2476-
impl Trait for Struct {
2476+
impl Trait for Foo {
24772477
fn foo(self: &Bar) {}
24782478
}
24792479
```

0 commit comments

Comments
 (0)