blob: 9c6d10029239b8035c92ab6a48d5136f15fe4866 [file] [log] [blame]
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
}