rust/tests/crashes/125249.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
238 B
Rust
Raw Normal View History

2024-05-19 05:56:57 +08:00
//@ known-bug: rust-lang/rust#125185
#![feature(return_position_impl_trait_in_trait, return_type_notation)]
trait IntFactory {
2024-06-28 23:49:16 +08:00
fn stream(&self) -> impl IntFactory<stream(..): IntFactory<stream(..): Send> + Send>;
2024-05-19 05:56:57 +08:00
}
pub fn main() {}