Skip to content

Commit 27dd0dd

Browse files
committed
Fix small typo in diagnostics.rs
1 parent d6b8242 commit 27dd0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ impl Trait for i8 { type AssociatedType = &'static str; }
559559
560560
foo(3_i8);
561561
// Here, we invoke `foo` with an `i8`, which does not satisfy
562-
// the constraint `<i8 as Trait>::AssociatedType=32`, and
562+
// the constraint `<i8 as Trait>::AssociatedType=u32`, and
563563
// therefore the type-checker complains with this error code.
564564
```
565565

0 commit comments

Comments
 (0)