Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
  • Loading branch information
rustbot and JohnTitor committed Jan 11, 2021
1 parent e5f7e76 commit 0775dea
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 0775dea

Please sign in to comment.