-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add more span suggestions #89391
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Closed
Closed
Add more span suggestions #89391
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
207d3e0
more span suggestions
Milo123459 41118a1
add some more error codes
Milo123459 1480e98
fix
Milo123459 7ee6c1c
Update compiler/rustc_ast_lowering/src/expr.rs
Milo123459 21d1469
Update compiler/rustc_passes/src/loops.rs
Milo123459 f970a4d
remove
Milo123459 546bdb7
add use
Milo123459 9c011c8
fixes
Milo123459 eb07972
rebase
Milo123459 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Empty file.
Empty file.
Empty file modified
0
compiler/rustc_codegen_gcc/build_sysroot/prepare_sysroot_src.sh
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains hidden or 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
4 files
+1 −1 | src/rust-2018/path-changes.md | |
+1 −9 | src/rust-2021/default-cargo-resolver.md | |
+2 −2 | src/rust-2021/disjoint-capture-in-closures.md | |
+1 −1 | src/rust-2021/prelude.md |
Submodule embedded-book
updated
5 files
+0 −1 | src/SUMMARY.md | |
+0 −2 | src/intro/install.md | |
+1 −1 | src/peripherals/borrowck.md | |
+1 −1 | src/start/qemu.md | |
+0 −75 | src/unsorted/math.md |
Submodule nomicon
updated
13 files
+1 −1 | src/arc-mutex/arc-drop.md | |
+1 −1 | src/arc-mutex/arc-layout.md | |
+2 −2 | src/drop-flags.md | |
+18 −68 | src/ffi.md | |
+0 −6 | src/leaking.md | |
+2 −2 | src/lifetimes.md | |
+1 −3 | src/other-reprs.md | |
+1 −1 | src/phantom-data.md | |
+1 −1 | src/safe-unsafe-meaning.md | |
+3 −3 | src/send-and-sync.md | |
+2 −2 | src/subtyping.md | |
+5 −19 | src/unchecked-uninit.md | |
+1 −1 | src/what-unsafe-does.md |
Submodule reference
updated
13 files
+1 −1 | README.md | |
+4 −4 | src/attributes/limits.md | |
+2 −0 | src/const_eval.md | |
+1 −1 | src/crates-and-source-files.md | |
+1 −2 | src/items/generics.md | |
+8 −34 | src/patterns.md | |
+12 −5 | src/special-types-and-traits.md | |
+2 −2 | src/subtyping.md | |
+2 −3 | src/tokens.md | |
+1 −1 | src/type-coercions.md | |
+1 −1 | src/types.md | |
+8 −10 | src/types/trait-object.md | |
+1 −1 | style-check/Cargo.toml |
Submodule rust-by-example
updated
9 files
+1 −1 | src/custom_types/enum/testcase_linked_list.md | |
+1 −1 | src/custom_types/structs.md | |
+1 −1 | src/fn.md | |
+1 −1 | src/generics.md | |
+1 −1 | src/hello/print/fmt.md | |
+3 −3 | src/macros/repeat.md | |
+14 −13 | src/std/arc.md | |
+7 −3 | src/testing/dev_dependencies.md | |
+0 −57 | src/trait/impl_trait.md |
Submodule rustc-dev-guide
updated
64 files
Submodule llvm-project
updated
57 files
This file contains hidden or 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 hidden or 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 hidden or 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,3 @@ | ||
fn main() { | ||
static || {}; //~ ERROR E0697 | ||
} |
This file contains hidden or 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,9 @@ | ||
error[E0697]: closures cannot be static | ||
--> $DIR/E0697.rs:2:5 | ||
| | ||
LL | static || {}; | ||
| ^^^^^^^^^ help: consider removing the: `static` | ||
estebank marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0697`. |
Submodule rust-analyzer
updated
from 683191 to f1d7f9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.