Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5d79e8c
reserve `impl<T> From<!> for T`
arielb1 Jul 13, 2019
9a94ecd
improve and add tests
arielb1 Jul 13, 2019
1ec7ae1
resolve the rustc_reservation_impl attribute in 1 place
arielb1 Jul 13, 2019
b5665e8
improve comments
arielb1 Jul 27, 2019
9196b2d
add error message for case
arielb1 Jul 27, 2019
d7eb562
add test for lattice specialization
arielb1 Sep 14, 2019
5de1faf
improve comment
arielb1 Sep 18, 2019
68fd593
cite reservation impls tracking issue
nikomatsakis Sep 23, 2019
b40a64d
remove outdated fixme
nikomatsakis Sep 23, 2019
da60c53
nit: update text to avoid "lattice specialization" term
nikomatsakis Sep 23, 2019
167ab04
nit: update error text to cite tracking issue
nikomatsakis Sep 23, 2019
99dc545
add a rustdoc comment to the reservation impl
nikomatsakis Sep 24, 2019
2808a46
Rename non-`TyS` uses of `sty`
varkor Sep 16, 2019
e2e0f9a
Rename `sty` to `kind`
varkor Sep 16, 2019
bd5adc5
Rename surviving uses of `sty`
varkor Sep 16, 2019
93df1bb
Fix rebase
varkor Sep 25, 2019
b6fc4b1
Refuse downgrading NLL errors on Rust 2015.
Centril Sep 6, 2019
0c7c98f
rustc_mir: remove dead code for downgrading errors.
Centril Sep 6, 2019
b9eaad2
Adjust & --bless tests due to no longer downgrading NLL errors on 2015.
Centril Sep 6, 2019
419ed8b
add test for #53432.
Centril Sep 6, 2019
b10b8a7
remove feature(nll) from #45157 test.
Centril Sep 6, 2019
947c10c
remove feature(nll) from #31567 test.
Centril Sep 6, 2019
af26372
remove feature(nll) from #27868 test.
Centril Sep 6, 2019
86481e1
remove feature(nll) in more cases.
Centril Sep 6, 2019
9f3e61b
rm "src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.migrate.s…
Centril Sep 25, 2019
4503ad4
issue-#45696-scribble...: remove outdated comment.
Centril Sep 25, 2019
e70724c
address rebase damage
arielb1 Sep 24, 2019
bc2a373
Fix fallout
varkor Sep 25, 2019
9bd201c
Use https for curl when building for linux
tmandry Sep 25, 2019
80db06d
Fix ExitStatus on Fuchsia
tmandry Sep 25, 2019
7b0167a
Rollup merge of #62661 - arielb1:never-reserve, r=nikomatsakis
Centril Sep 26, 2019
6f0448c
Rollup merge of #64221 - Centril:nll-no-migrate-2015, r=matthewjasper
Centril Sep 26, 2019
db3fc45
Rollup merge of #64513 - varkor:sty-begone, r=eddyb
Centril Sep 26, 2019
075d758
Rollup merge of #64786 - tmandry:patch-1, r=Mark-Simulacrum
Centril Sep 26, 2019
655a21c
Rollup merge of #64787 - tmandry:fuchsia-exitstatus, r=cramertj
Centril Sep 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust & --bless tests due to no longer downgrading NLL errors on 2015.
  • Loading branch information
Centril committed Sep 25, 2019
commit b9eaad29c75ec551417028d7dd87607295b08171
40 changes: 0 additions & 40 deletions src/test/ui/borrowck/borrowck-anon-fields-variant.nll.stderr

This file was deleted.

4 changes: 1 addition & 3 deletions src/test/ui/borrowck/borrowck-anon-fields-variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ fn distinct_variant() {
// reference.
let b = match y {
Foo::Y(_, ref mut b) => b,
//~^ WARNING cannot use `y`
//~| WARNING this error has been downgraded to a warning
//~| WARNING this warning will become a hard error in the future
//~^ ERROR cannot use `y`
Foo::X => panic!()
};

Expand Down
12 changes: 4 additions & 8 deletions src/test/ui/borrowck/borrowck-anon-fields-variant.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
warning[E0503]: cannot use `y` because it was mutably borrowed
error[E0503]: cannot use `y` because it was mutably borrowed
--> $DIR/borrowck-anon-fields-variant.rs:17:7
|
LL | Foo::Y(ref mut a, _) => a,
Expand All @@ -9,13 +9,9 @@ LL | Foo::Y(_, ref mut b) => b,
...
LL | *a += 1;
| ------- borrow later used here
|
= warning: this error has been downgraded to a warning for backwards compatibility with previous releases
= warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
= note: for more information, try `rustc --explain E0729`

error[E0503]: cannot use `y` because it was mutably borrowed
--> $DIR/borrowck-anon-fields-variant.rs:37:7
--> $DIR/borrowck-anon-fields-variant.rs:35:7
|
LL | Foo::Y(ref mut a, _) => a,
| --------- borrow of `y.0` occurs here
Expand All @@ -27,7 +23,7 @@ LL | *a += 1;
| ------- borrow later used here

error[E0499]: cannot borrow `y.0` as mutable more than once at a time
--> $DIR/borrowck-anon-fields-variant.rs:37:14
--> $DIR/borrowck-anon-fields-variant.rs:35:14
|
LL | Foo::Y(ref mut a, _) => a,
| --------- first mutable borrow occurs here
Expand All @@ -38,7 +34,7 @@ LL | Foo::Y(ref mut b, _) => b,
LL | *a += 1;
| ------- first borrow later used here

error: aborting due to 2 previous errors
error: aborting due to 3 previous errors

Some errors have detailed explanations: E0499, E0503.
For more information about an error, try `rustc --explain E0499`.
Loading