We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b8242 commit 27dd0ddCopy full SHA for 27dd0dd
src/librustc/diagnostics.rs
@@ -559,7 +559,7 @@ impl Trait for i8 { type AssociatedType = &'static str; }
559
560
foo(3_i8);
561
// Here, we invoke `foo` with an `i8`, which does not satisfy
562
-// the constraint `<i8 as Trait>::AssociatedType=32`, and
+// the constraint `<i8 as Trait>::AssociatedType=u32`, and
563
// therefore the type-checker complains with this error code.
564
```
565
0 commit comments