Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
resolve
/
false-self-in-macro-issue-143134.rs
blob: 0983b8b3dc3c4fc406cf68a8679b3bbf92827f58 [
file
] [
log
] [
blame
]
trait
T
{
fn
f
(
self
);
}
impl
T
for
()
{
fn
f
(
self
)
{
let
self
=
();
//~ ERROR expected unit struct, unit variant or constant, found local variable `self`
}
}
fn
main
()
{}