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.
2 parents 72b03e5 + 27dd0dd commit ae74652Copy full SHA for ae74652
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