mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 17:40:16 +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)
|
|
}
|