```
"##,
+E0671: r##"
+Const parameters cannot depend on type parameters.
+The following is therefore invalid:
+```compile_fail,E0671
+#![feature(const_generics)]
+
+fn const_id<T, const N: T>() -> T { // error: const parameter
+ // depends on type parameter
+ N
+}
+```
+"##,
+
}
register_diagnostics! {