Skip to content

Commit

Permalink
update error span coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
Cengiz Can authored Oct 8, 2017
1 parent 4989c04 commit 00504f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn baz<'a,'b>(x: Type<'a>, y: Type<'b>) -> (Type<'a>, Type<'b>) {
let a = bar(f, x);
let b = bar(f, y);
(a, b)
//[oneuse]~^ ERROR 50:8: 50:9: lifetime mismatch [E0623]
//[oneuse]~^ ERROR 50:5: 50:6: lifetime mismatch [E0623]
}

#[cfg(transmute)] // one instantiations: BAD
Expand Down

0 comments on commit 00504f2

Please sign in to comment.