diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 5e79e5a5a4ed2..67b0994378194 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -559,7 +559,7 @@ impl Trait for i8 { type AssociatedType = &'static str; } foo(3_i8); // Here, we invoke `foo` with an `i8`, which does not satisfy -// the constraint `::AssociatedType=32`, and +// the constraint `::AssociatedType=u32`, and // therefore the type-checker complains with this error code. ```