Skip to content

Commit

Permalink
Add ICE reproduction for issue rust-lang/rust#80779.
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbot committed Jan 11, 2021
1 parent e5f7e76 commit d148c79
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ices/80779.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pub struct T<'a>(&'a str);

pub fn f<'a>(val: T<'a>) -> _ {
g(val)
}

pub fn g(_: T<'static>) -> _ {}

fn main() {}

0 comments on commit d148c79

Please # to comment.