X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_infer%2Fsrc%2Finfer%2Fcombine.rs;h=aa3f0600cccc850fe1317421fde9738382392f55;hb=7907385999b4a83d37ed31d334f3ed9ca02983a1;hp=0ca0fe33614f826600589d69fd0edfcea9b14d9e;hpb=055bf4ccd521c2c2185166c86951be7be145727c;p=rust.git diff --git a/compiler/rustc_infer/src/infer/combine.rs b/compiler/rustc_infer/src/infer/combine.rs index 0ca0fe33614..aa3f0600ccc 100644 --- a/compiler/rustc_infer/src/infer/combine.rs +++ b/compiler/rustc_infer/src/infer/combine.rs @@ -202,7 +202,7 @@ pub fn super_combine_consts( /// /// A good example of this is the following: /// - /// ```rust + /// ```compile_fail,E0308 /// #![feature(generic_const_exprs)] /// /// fn bind(value: [u8; N]) -> [u8; 3 + 4] {