add comment outlining test.
This commit is contained in:
parent
e78361a16c
commit
681af62ba4
@ -1,4 +1,9 @@
|
||||
// run-pass
|
||||
|
||||
// Issue #62007: assigning over a field projection (`list.0 = n;` in
|
||||
// this case) should be able to kill all borrows of `list.0`, so that
|
||||
// `list.0` can be borrowed on the next iteration through the loop.
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
struct List<T> {
|
||||
|
Loading…
Reference in New Issue
Block a user