-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor dyn-compatibility error and suggestions
This CL makes a number of small changes to dyn compatibility errors: - "object safety" has been renamed to "dyn-compatibility" throughout - "Convert to enum" suggestions are no longer generated when there exists a type-generic impl of the trait or an impl for `dyn OtherTrait` - Several error messages are reorganized for user readability Additionally, the dyn compatibility error creation code has been split out into functions. cc #132713 cc #133267
- Loading branch information
Showing
172 changed files
with
1,363 additions
and
1,071 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
Submodule stdarch
updated
12 files
Submodule edition-guide
updated
4 files
+2 −23 | .github/workflows/main.yml | |
+0 −1 | src/SUMMARY.md | |
+0 −47 | src/rust-2021/raw-lifetimes.md | |
+5 −6 | src/rust-2021/reserved-syntax.md |
Submodule reference
updated
19 files
+0 −39 | src/attributes.md | |
+3 −63 | src/attributes/codegen.md | |
+0 −22 | src/attributes/debugger.md | |
+1 −9 | src/attributes/derive.md | |
+4 −72 | src/attributes/diagnostics.md | |
+1 −14 | src/attributes/limits.md | |
+4 −25 | src/attributes/testing.md | |
+2 −14 | src/attributes/type_system.md | |
+1 −1 | src/conditional-compilation.md | |
+0 −78 | src/expressions/operator-expr.md | |
+15 −51 | src/inline-assembly.md | |
+2 −2 | src/items/enumerations.md | |
+4 −3 | src/items/generics.md | |
+0 −17 | src/linkage.md | |
+1 −1 | src/macro-ambiguity.md | |
+2 −0 | src/tokens.md | |
+1 −2 | src/trait-bounds.md | |
+2 −3 | src/type-layout.md | |
+1 −1 | src/types/trait-object.md |
Submodule cargo
updated
10 files
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
Oops, something went wrong.