rust/tests/crashes/127916.rs
Matthias Krüger 5ab2e40294 add more tests
2024-07-21 17:50:57 +02:00

17 lines
194 B
Rust

//@ known-bug: #127916
trait Trait {
fn foo(&self) -> u32 { 0 }
}
struct F;
struct S;
mod to_reuse {
pub fn foo(&self) -> u32 {}
}
impl Trait S {
reuse to_reuse::foo { self }
}