]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/params-in-ct-in-ty-param-lazy-norm.rs
Replace "non trivial" with "non-trivial"
[rust.git] / src / test / ui / const-generics / params-in-ct-in-ty-param-lazy-norm.rs
index e52773c78dbd3b4a66bb879dde364c4a054772c3..b9d74850f37d6ecb749c2240c79a473775722ceb 100644 (file)
@@ -6,7 +6,7 @@
 
 struct Foo<T, U = [u8; std::mem::size_of::<T>()]>(T, U);
 //[full]~^ ERROR constant values inside of type parameter defaults
-//[min]~^^ ERROR generic parameters must not be used inside of non trivial
+//[min]~^^ ERROR generic parameters must not be used inside of non-trivial
 
 // FIXME(const_generics:defaults): We still don't know how to we deal with type defaults.
 struct Bar<T = [u8; N], const N: usize>(T);