Skip to content

Commit 7dc4bf4

Browse files
authored
Change incorrect trait name in E0038 error documentation
1 parent 5808971 commit 7dc4bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/error_codes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ trait Super<A: ?Sized> {
280280
}
281281
```
282282
283-
If the trait `Foo` was deriving from something like `Super<String>` or
283+
If the trait `Trait` was deriving from something like `Super<String>` or
284284
`Super<T>` (where `Foo` itself is `Foo<T>`), this is okay, because given a type
285285
`get_a()` will definitely return an object of that type.
286286

0 commit comments

Comments
 (0)