mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
16 lines
186 B
Rust
16 lines
186 B
Rust
//@ known-bug: #128119
|
|
|
|
trait Trait {
|
|
reuse to_reuse::foo { self }
|
|
}
|
|
|
|
struct S;
|
|
|
|
mod to_reuse {
|
|
pub fn foo(&self) -> u32 {}
|
|
}
|
|
|
|
impl Trait S {
|
|
reuse to_reuse::foo { self }
|
|
}
|