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