Update tests for new NLL mutability errors

This commit is contained in:
Matthew Jasper 2018-07-17 20:29:48 +01:00
parent 13b5f69848
commit a06b2433fc
52 changed files with 1129 additions and 89 deletions

View file

@ -1,4 +1,4 @@
error[E0596]: cannot borrow immutable item `foo` as mutable
error[E0596]: cannot borrow `foo` as mutable, as it is not declared as mutable
--> $DIR/span-covering-argument-1.rs:15:14
|
LL | let $s = 0;