Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
methods
/
method-not-found-but-doc-alias.rs
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
}