]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/const_evaluatable_checked/simple_fail.rs
Replace "non trivial" with "non-trivial"
[rust.git] / src / test / ui / const-generics / const_evaluatable_checked / simple_fail.rs
index b15e0ff183954f7d5470eb491b9c7b4dc2c3a7f8..637c940f7143270fda540d5b1fc994c7716f5209 100644 (file)
@@ -5,7 +5,7 @@
 #![allow(incomplete_features)]
 
 type Arr<const N: usize> = [u8; N - 1]; //[full]~ ERROR evaluation of constant
-//[min]~^ ERROR generic parameters must not be used inside of non trivial constant values
+//[min]~^ ERROR generic parameters must not be used inside of non-trivial constant values
 
 fn test<const N: usize>() -> Arr<N> where Arr<N>: Sized {
     todo!()