about summary refs log tree commit diff
path: root/tests/ui/const-generics/wrong-normalization.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/wrong-normalization.rs')
-rw-r--r--tests/ui/const-generics/wrong-normalization.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/const-generics/wrong-normalization.rs b/tests/ui/const-generics/wrong-normalization.rs
index f1ce317b3f7..8b2323e3d47 100644
--- a/tests/ui/const-generics/wrong-normalization.rs
+++ b/tests/ui/const-generics/wrong-normalization.rs
@@ -15,5 +15,6 @@ pub struct I8<const F: i8>;
 
 impl <I8<{i8::MIN}> as Identity>::Identity {
 //~^ ERROR no nominal type found for inherent implementation
+//~| ERROR no associated item named `MIN` found for type `i8`
     pub fn foo(&self) {}
 }