index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
suggestions
/
suggest-remove-refs-4.rs
blob: ac5b13ffad35602d5c4b176103698873496fa360 (
plain
)
1
2
3
4
5
//@ run-rustfix
fn
main
()
{
let
foo
=
&
[
1
,
2
,
3
].
iter
();
for
_i
in
&
foo
{}
//~ ERROR E0277
}