blob: 295c88df8574658377af354329071c247e80f9ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//@ 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 }
}
|