mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
13 lines
233 B
Rust
13 lines
233 B
Rust
//@ known-bug: #131298
|
|
|
|
fn dyn_hoops<T>() -> *const dyn Iterator<Item = impl Captures> {
|
|
loop {}
|
|
}
|
|
|
|
mod typeck {
|
|
type Opaque = impl Sized;
|
|
fn define() -> Opaque {
|
|
let _: Opaque = super::dyn_hoops::<u8>();
|
|
}
|
|
}
|