Update fn-ret-invariant test assertion

This commit is contained in:
Cengiz Can 2017-11-06 18:07:48 +00:00 committed by Cengiz Can
parent da52563bf5
commit ee839b36ac
1 changed files with 1 additions and 2 deletions

View File

@ -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]