Skip to content

Commit 2866fab

Browse files
committed
Update fn-ret-invariant test assertion
1 parent fc59f3e commit 2866fab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/compile-fail/associated-types/cache/project-fn-ret-invariant.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ fn baz<'a,'b>(x: Type<'a>) -> Type<'static> {
6161
#[cfg(krisskross)] // two instantiations, mixing and matching: BAD
6262
fn transmute<'a,'b>(x: Type<'a>, y: Type<'b>) -> (Type<'a>, Type<'b>) {
6363
let a = bar(foo, y);
64-
let b = bar(foo, x);
64+
let b = bar(foo, x); //[krisskross]~ ERROR E0623
6565
(a, b) //[krisskross]~ ERROR E0623
66-
//[krisskross]~^ ERROR E0623
6766
}
6867

6968
#[rustc_error]

0 commit comments

Comments
 (0)