-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #65879 - ohadravid:stabilize-re-rebalance-coherence, r=…
…nikomatsakis Stabilize the `re_rebalance_coherence` feature This PR stabilizes [RFC 2451](https://rust-lang.github.io/rfcs/2451-re-rebalancing-coherence.html), re-rebalance coherence. Changes include removing the attribute from tests which tested both the old and new behavior, moving the feature to `accepted` and removing the old logic. I'll also open a [PR](rust-lang/reference#703) against the reference, updating it with the content of the RFC. Closes #63599 r? @nikomatsakis
- Loading branch information
Showing
229 changed files
with
269 additions
and
1,640 deletions.
There are no files selected for viewing
23 changes: 0 additions & 23 deletions
23
src/doc/unstable-book/src/language-features/re-rebalance-coherence.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
// aux-build:coherence_lib.rs | ||
// revisions: old re | ||
|
||
#![cfg_attr(re, feature(re_rebalance_coherence))] | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::Remote1; | ||
|
||
impl<T> Remote1<T> for isize { } | ||
//[old]~^ ERROR E0210 | ||
//[re]~^^ ERROR E0210 | ||
//~^ ERROR E0210 | ||
|
||
fn main() { } |
2 changes: 1 addition & 1 deletion
2
...coherence/coherence-all-remote.old.stderr → .../ui/coherence/coherence-all-remote.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
// aux-build:coherence_lib.rs | ||
// revisions: old re | ||
|
||
#![cfg_attr(re, feature(re_rebalance_coherence))] | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::Remote1; | ||
|
||
pub struct BigInt; | ||
|
||
impl<T> Remote1<BigInt> for T { } | ||
//[old]~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
//[re]~^^ ERROR E0210 | ||
//~^ ERROR E0210 | ||
|
||
fn main() { } |
2 changes: 1 addition & 1 deletion
2
...oherence/coherence-bigint-param.re.stderr → ...i/coherence/coherence-bigint-param.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
src/test/ui/coherence/coherence-blanket-conflicts-with-blanket-implemented.re.stderr
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...licts-with-blanket-implemented.old.stderr → ...conflicts-with-blanket-implemented.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.