-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #119110 - matthiaskrgr:rollup-vr6ha8x, r=matthiaskrgr
Rollup of 4 pull requests Successful merges: - #119087 (Update books) - #119091 (Use alias-eq in structural normalization) - #119098 (Adjust the ignore-compare-mode-next-solver for hangs) - #119100 (Add the function body span to StableMIR) r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
27 changed files
with
83 additions
and
71 deletions.
There are no files selected for viewing
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 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
Submodule edition-guide
updated
6 files
Submodule nomicon
updated
7 files
+23 −12 | src/phantom-data.md | |
+9 −11 | src/vec/vec-drain.md | |
+22 −21 | src/vec/vec-final.md | |
+3 −2 | src/vec/vec-insert-remove.md | |
+10 −12 | src/vec/vec-into-iter.md | |
+0 −1 | src/vec/vec-layout.md | |
+15 −17 | src/vec/vec-raw.md |
Submodule rust-by-example
updated
14 files
+34 −1 | .github/workflows/rbe.yml | |
+3 −1 | .gitignore | |
+25 −0 | README.md | |
+85 −0 | TRANSLATING.md | |
+9 −0 | book.toml | |
+9 −0 | src/flow_control/match/destructuring/destructure_structures.md | |
+1 −1 | src/meta/doc.md | |
+10 −3 | src/meta/playground.md | |
+10 −0 | src/std_misc/ffi.md | |
+9 −1 | src/std_misc/fs.md | |
+9 −2 | src/std_misc/process/pipe.md | |
+1 −1 | src/testing/unit_testing.md | |
+13 −0 | theme/css/language-picker.css | |
+386 −0 | theme/index.hbs |
Submodule rustc-dev-guide
updated
10 files
+5 −0 | .mailmap | |
+1 −0 | src/SUMMARY.md | |
+1 −1 | src/building/bootstrapping.md | |
+4 −4 | src/compiler-team.md | |
+5 −4 | src/diagnostics.md | |
+10 −23 | src/diagnostics/lintstore.md | |
+5 −5 | src/feature-gates.md | |
+6 −7 | src/getting-started.md | |
+336 −0 | src/guides/editions.md | |
+2 −2 | src/implementing_new_features.md |
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 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
15 changes: 15 additions & 0 deletions
15
tests/ui/traits/next-solver/coerce-ambig-alias-to-rigid-alias.rs
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// compile-flags: -Znext-solver | ||
// check-pass | ||
|
||
trait Trait { | ||
type Assoc; | ||
} | ||
|
||
fn call<T: Trait>(_: <T as Trait>::Assoc, _: T) {} | ||
|
||
fn foo<T: Trait>(rigid: <T as Trait>::Assoc, t: T) { | ||
// Check that we can coerce `<?0 as Trait>::Assoc` to `<T as Trait>::Assoc`. | ||
call::<_ /* ?0 */>(rigid, t); | ||
} | ||
|
||
fn main() {} |
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 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