Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
methods
/
method-not-found-but-doc-alias.rs
blob: 9c6d10029239b8035c92ab6a48d5136f15fe4866 [
file
] [
log
] [
blame
] [
edit
]
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
}