Skip to content

Commit

Permalink
remove feature(nll) from rust-lang#27868 test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Sep 25, 2019
1 parent 947c10c commit af26372
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/test/ui/nll/issue-27868.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Regression test for issue #27868

#![feature(nll)]

use std::ops::AddAssign;

struct MyVec<T>(Vec<T>);
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/nll/issue-27868.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0506]: cannot assign to `vecvec` because it is borrowed
--> $DIR/issue-27868.rs:26:9
--> $DIR/issue-27868.rs:24:9
|
LL | vecvec[0] += {
| ------
Expand Down

0 comments on commit af26372

Please sign in to comment.