]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/lazy_normalization_consts/issue-73980.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / lazy_normalization_consts / issue-73980.rs
index 339b22c0b423d7ce4d7be33c10e1ba30a3a0f790..e10040652c78d36dbce7febd3c60b08c3f11d699 100644 (file)
@@ -10,5 +10,7 @@ impl<T: ?Sized> L<T> {
 }
 
 impl<T> X<T, [u8; L::<T>::S]> {}
+//~^ WARN cannot use constants which depend on generic parameters
+//~| WARN this was previously accepted by the compiler but is being phased out
 
 fn main() {}