]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_infer/src/infer/combine.rs
fix most compiler/ doctests
[rust.git] / compiler / rustc_infer / src / infer / combine.rs
index 0ca0fe33614f826600589d69fd0edfcea9b14d9e..aa3f0600cccc850fe1317421fde9738382392f55 100644 (file)
@@ -202,7 +202,7 @@ pub fn super_combine_consts<R>(
     ///
     /// A good example of this is the following:
     ///
-    /// ```rust
+    /// ```compile_fail,E0308
     /// #![feature(generic_const_exprs)]
     ///
     /// fn bind<const N: usize>(value: [u8; N]) -> [u8; 3 + 4] {