Sign in
android
/
toolchain
/
rustc
/
43f0694b1feb1296004d84509e01177159e71be0
/
.
/
src
/
test
/
ui
/
issues
/
issue-5321-immediates-with-bare-self.rs
blob: 64aa2836a7dd1842b88c3db07d0cb56f6ea88801 [
file
] [
log
] [
blame
]
// run-pass
trait
Fooable
{
fn
yes
(
self
);
}
impl
Fooable
for
usize
{
fn
yes
(
self
)
{
for
_ in
0.
.
self
{
println
!(
"yes"
);
}
}
}
pub
fn
main
()
{
2.yes
();
}