Update fn-ret-invariant test assertion
This commit is contained in:
parent
da52563bf5
commit
ee839b36ac
|
@ -61,9 +61,8 @@ fn baz<'a,'b>(x: Type<'a>) -> Type<'static> {
|
|||
#[cfg(krisskross)] // two instantiations, mixing and matching: BAD
|
||||
fn transmute<'a,'b>(x: Type<'a>, y: Type<'b>) -> (Type<'a>, Type<'b>) {
|
||||
let a = bar(foo, y);
|
||||
let b = bar(foo, x);
|
||||
let b = bar(foo, x); //[krisskross]~ ERROR E0623
|
||||
(a, b) //[krisskross]~ ERROR E0623
|
||||
//[krisskross]~^ ERROR E0623
|
||||
}
|
||||
|
||||
#[rustc_error]
|
||||
|
|
Loading…
Reference in New Issue