]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/const-param-before-other-params.rs
Move generic arg / param validation to `create_substs_for_generic_args`
[rust.git] / src / test / ui / const-generics / const-param-before-other-params.rs
index 5bdbfd8ff1f3907ba6dce0faaa0004261a8c2c76..2c81681b85e7ddfb6cc9e07e530e67e77dcf9b76 100644 (file)
@@ -1,4 +1,5 @@
 #![feature(const_generics)]
+//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
 
 fn bar<const X: (), 'a>(_: &'a ()) {
     //~^ ERROR lifetime parameters must be declared prior to const parameters