mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
7 lines
104 B
Rust
7 lines
104 B
Rust
//@ known-bug: #135845
|
|
struct S<'a, T: ?Sized>(&'a T);
|
|
|
|
fn b<'a>() -> S<'static, _> {
|
|
S::<'a>(&0)
|
|
}
|