mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-23 08:42:23 +00:00
12 lines
188 B
Rust
12 lines
188 B
Rust
struct Foo;
|
|
|
|
impl Foo {
|
|
#[doc(alias = "quux")]
|
|
fn bar(&self) {}
|
|
}
|
|
|
|
fn main() {
|
|
Foo.quux();
|
|
//~^ ERROR no method named `quux` found for struct `Foo` in the current scope
|
|
}
|