diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/consts/too_generic_eval_ice.rs (renamed from src/test/ui/consts/too_generic_eval_ice.rs) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/too_generic_eval_ice.rs b/tests/ui/consts/too_generic_eval_ice.rs index af494e373..8b3f4b714 100644 --- a/src/test/ui/consts/too_generic_eval_ice.rs +++ b/tests/ui/consts/too_generic_eval_ice.rs @@ -7,7 +7,7 @@ impl<A, B> Foo<A, B> { [5; Self::HOST_SIZE] == [6; 0] //~^ ERROR constant expression depends on a generic parameter //~| ERROR constant expression depends on a generic parameter - //~| ERROR can't compare `[{integer}; _]` with `[{integer}; 0]` + //~| ERROR can't compare `[{integer}; Self::HOST_SIZE]` with `[{integer}; 0]` } } |