diff options
Diffstat (limited to 'src/test/ui/issues/issue-52126-assign-op-invariance.stderr')
-rw-r--r-- | src/test/ui/issues/issue-52126-assign-op-invariance.stderr | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/issues/issue-52126-assign-op-invariance.stderr b/src/test/ui/issues/issue-52126-assign-op-invariance.stderr deleted file mode 100644 index d45067577..000000000 --- a/src/test/ui/issues/issue-52126-assign-op-invariance.stderr +++ /dev/null @@ -1,15 +0,0 @@ -error[E0597]: `line` does not live long enough - --> $DIR/issue-52126-assign-op-invariance.rs:34:28 - | -LL | let v: Vec<&str> = line.split_whitespace().collect(); - | ^^^^^^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough -... -LL | acc += cnt2; - | --- borrow later used here -... -LL | } - | - `line` dropped here while still borrowed - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0597`. |