]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/min_const_generics/const-argument-if-length.rs
Replace "non trivial" with "non-trivial"
[rust.git] / src / test / ui / const-generics / min_const_generics / const-argument-if-length.rs
index 354630ae878967fe3acee862fd4f8c90d8ae59a2..03c78a2fe684e36de811e1068a590e1120f0a831 100644 (file)
@@ -12,7 +12,7 @@ pub struct AtLeastByte<T: ?Sized> {
     value: T,
     //~^ ERROR the size for values of type `T` cannot be known at compilation time
     pad: [u8; is_zst::<T>()],
-    //~^ ERROR generic parameters must not be used inside of non trivial constant values
+    //~^ ERROR generic parameters must not be used inside of non-trivial constant values
 }
 
 fn main() {}