-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtree update of rust-analyzer
#117985
Subtree update of rust-analyzer
#117985
Conversation
They've been deprecated for four years. This commit includes the following changes. - It eliminates the `rustc_plugin_impl` crate. - It changes the language used for lints in `compiler/rustc_driver_impl/src/lib.rs` and `compiler/rustc_lint/src/context.rs`. External lints are now called "loaded" lints, rather than "plugins" to avoid confusion with the old plugins. This only has a tiny effect on the output of `-W help`. - E0457 and E0498 are no longer used. - E0463 is narrowed, now only relating to unfound crates, not plugins. - The `plugin` feature was moved from "active" to "removed". - It removes the entire plugins chapter from the unstable book. - It removes quite a few tests, mostly all of those in `tests/ui-fulldeps/plugin/`. Closes rust-lang#29597.
feat: preview adt field when hover Closes rust-lang#13977 ![20231108194345_rec_](/~https://github.com/rust-lang/rust-analyzer/assets/14040068/95894c4b-de6e-4ca4-98b3-6ab4559d0950)
…mment, r=lnicola Try to update parser/event doc `TokenSource` and `TreeSink` has been refactored as part of rust-lang#10765, they no longer exist in code repo. This pr tries to remove them from event module level comment to prevent confusion.
…Kalbasi Truncate closure capture place for raw pointer fix rust-lang/rust-analyzer#15670 (comment)
fix: find `Self` reference took a lot of time to debug to find the problem, here should compare the actual `Adt` type close rust-lang/rust-analyzer#12693
…lnicola fix: Ignore doc(hidden) attr if no body is present fixes rust-lang#15782
Improve check for include macro rust-lang/rust-analyzer#15819 (review)
Add config for preferring / ignoring prelude modules in find_path
Mirrors `PathSegment's` version, except that it always generates a turbofish
`add_type_ascription` is still left as-is since it's a different assist
Way for setting and removing the type ascription of a let stmt
Due to the way the current tree mutation api works, we need to collect changes before we can apply them to the real syntax tree, and also can only switch to a file once. `destructure_tuple_binding_in_sub_pattern` also gets migrated even though can't be used.
@bors r+ p=1 subtree sync |
@bors r- |
3507a09
to
949870c
Compare
@bors r+ p=1 subtree sync |
Subtree update of `rust-analyzer` r? `@ghost` Out of band, but required for rust-lang#117981.
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
@bors retry runner quit |
☀️ Test successful - checks-actions |
Finished benchmarking commit (00bfd6b): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 676.51s -> 675.609s (-0.13%) |
r? @ghost
Out of band, but required for #117981.