-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
⬆️ rust-analyzer #108260
⬆️ rust-analyzer #108260
Commits on Jan 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3e0e51c - Browse repository at this point
Copy the full SHA 3e0e51cView commit details
Commits on Feb 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ae7e62c - Browse repository at this point
Copy the full SHA ae7e62cView commit details -
Don't trigger postfix completion
if
block which has anelse
blockDiscard postfix completion if the next_non_trivia_sibling of dot_token is an ELSE_KW.
Configuration menu - View commit details
-
Copy full SHA for e1396bd - Browse repository at this point
Copy the full SHA e1396bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1be24e0 - Browse repository at this point
Copy the full SHA 1be24e0View commit details
Commits on Feb 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 33cacde - Browse repository at this point
Copy the full SHA 33cacdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2cf8c2 - Browse repository at this point
Copy the full SHA d2cf8c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9738f97 - Browse repository at this point
Copy the full SHA 9738f97View commit details
Commits on Feb 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 244a48d - Browse repository at this point
Copy the full SHA 244a48dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0285acc - Browse repository at this point
Copy the full SHA 0285accView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc45c76 - Browse repository at this point
Copy the full SHA bc45c76View commit details
Commits on Feb 14, 2023
-
Support UTF-32 position encoding
Looks like this is a native encoding for Emacs at least!
Configuration menu - View commit details
-
Copy full SHA for 0da2737 - Browse repository at this point
Copy the full SHA 0da2737View commit details -
Configuration menu - View commit details
-
Copy full SHA for 354b1aa - Browse repository at this point
Copy the full SHA 354b1aaView commit details -
Auto merge of rust-lang#14143 - lnicola:sync-from-rust, r=lnicola
minor: sync from downstream
Configuration menu - View commit details
-
Copy full SHA for a33e9d9 - Browse repository at this point
Copy the full SHA a33e9d9View commit details -
Auto merge of rust-lang#14123 - dqkqd:discard-postfix-completion-for-…
…indivisble-expr, r=Veykril fix: Don't trigger postfix completion in `if` block which has an `else` block Fix rust-lang#14096
Configuration menu - View commit details
-
Copy full SHA for 3812951 - Browse repository at this point
Copy the full SHA 3812951View commit details -
Auto merge of rust-lang#14122 - lowr:patch/abort-macro-expansion-on-o…
…verflow, r=Veykril fix: Don't expand macros in the same expansion tree after overflow This patch fixes 2 bugs: - In `Expander::enter_expand_id()` (and in code paths it's called), we never check whether we've reached the recursion limit. Although it hasn't been reported as far as I'm aware, this may cause hangs or stack overflows if some malformed attribute macro is used on associated items. - We keep expansion even when recursion limit is reached. Take the following for example: ```rust macro_rules! foo { () => {{ foo!(); foo!(); }} } fn main() { foo!(); } ``` We keep expanding the first `foo!()` in each expansion and would reach the limit at some point, *after which* we would try expanding the second `foo!()` in each expansion until it hits the limit again. This will (by default) lead to ~2^128 expansions. This is essentially what's happening in rust-lang#14074. Unlike rustc, we don't just stop expanding macros when we fail as long as it produces some tokens so that we can provide completions and other services in incomplete macro calls. This patch provides a method that takes care of recursion depths (`Expander::within_limit()`) and stops macro expansions in the whole macro expansion tree once it detects recursion depth overflow. To be honest, I'm not really satisfied with this fix because it can still be used in unintended ways to bypass overflow checks, and I'm still seeking ways such that misuses are caught by the compiler by leveraging types or something. Fixes rust-lang#14074
Configuration menu - View commit details
-
Copy full SHA for 2a57b01 - Browse repository at this point
Copy the full SHA 2a57b01View commit details -
Update crates/ide-db/src/line_index.rs
Co-authored-by: Stig Brautaset <stig@brautaset.org>
Configuration menu - View commit details
-
Copy full SHA for 9fdcf57 - Browse repository at this point
Copy the full SHA 9fdcf57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 098d9d7 - Browse repository at this point
Copy the full SHA 098d9d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60fa8fe - Browse repository at this point
Copy the full SHA 60fa8feView commit details -
Auto merge of rust-lang#14141 - matklad:utf-32, r=lnicola
Support UTF-32 position encoding Looks like this is a native encoding for Emacs at least!
Configuration menu - View commit details
-
Copy full SHA for 31486a6 - Browse repository at this point
Copy the full SHA 31486a6View commit details -
Auto merge of rust-lang#14144 - lowr:fix/find-occurrence-of-raw-ident…
…, r=Veykril fix: Search raw identifiers without prefix When we find references/usages of a raw identifier, we should disregard `r#` prefix because there are keywords one can use without the prefix in earlier editions (see rust-lang#13034; this bug is actually fallout from the PR). `name`, the text we're searching for, has already been stripped of the prefix, but the text of nodes we compare it to hasn't been. The second commit is strictly refactoring, I can remove it if it's not much of value.
Configuration menu - View commit details
-
Copy full SHA for 88b3d9f - Browse repository at this point
Copy the full SHA 88b3d9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f6b5f4 - Browse repository at this point
Copy the full SHA 4f6b5f4View commit details -
Auto merge of rust-lang#14128 - Veykril:parser, r=Veykril
internal: Improve parser recovery for delimited lists Closes rust-lang/rust-analyzer#11188, rust-lang/rust-analyzer#10410, rust-lang/rust-analyzer#10173 Should probably be merged after the stable release as this might get the parser stuck if I missed something
Configuration menu - View commit details
-
Copy full SHA for 4456800 - Browse repository at this point
Copy the full SHA 4456800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95fa278 - Browse repository at this point
Copy the full SHA 95fa278View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38144fd - Browse repository at this point
Copy the full SHA 38144fdView commit details -
Auto merge of rust-lang#14147 - Veykril:completion, r=Veykril
Don't assume VSCode internal commands in the server
Configuration menu - View commit details
-
Copy full SHA for 2e86029 - Browse repository at this point
Copy the full SHA 2e86029View commit details -
Auto merge of rust-lang#14148 - Veykril:lsp-types, r=Veykril
Bump lsp-types
Configuration menu - View commit details
-
Copy full SHA for e7bc68f - Browse repository at this point
Copy the full SHA e7bc68fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0f20a - Browse repository at this point
Copy the full SHA 3c0f20aView commit details -
Don't allocate the generic_args vec in hir_def::Path if it consists o…
…nly of `None` args
Configuration menu - View commit details
-
Copy full SHA for a18ebf4 - Browse repository at this point
Copy the full SHA a18ebf4View commit details -
Auto merge of rust-lang#14150 - Veykril:path, r=Veykril
internal: Don't allocate the generic_args vec in `hir_def::Path` if it consists only of `None` args Saves roughly 5mb on self
Configuration menu - View commit details
-
Copy full SHA for 9548388 - Browse repository at this point
Copy the full SHA 9548388View commit details -
Configuration menu - View commit details
-
Copy full SHA for cade9f7 - Browse repository at this point
Copy the full SHA cade9f7View commit details -
Auto merge of rust-lang#14151 - Veykril:smallvec, r=Veykril
internal: Enable smallvec's `union` feature
Configuration menu - View commit details
-
Copy full SHA for 41db8c2 - Browse repository at this point
Copy the full SHA 41db8c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c2aef6 - Browse repository at this point
Copy the full SHA 4c2aef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 853ae19 - Browse repository at this point
Copy the full SHA 853ae19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aee911 - Browse repository at this point
Copy the full SHA 4aee911View commit details -
Auto merge of rust-lang#14149 - Veykril:completion, r=Veykril
Trigger call info for more completions of signature having things
Configuration menu - View commit details
-
Copy full SHA for 523fea8 - Browse repository at this point
Copy the full SHA 523fea8View commit details -
Auto merge of rust-lang#14152 - Veykril:path-opt, r=Veykril
Replace some often empty `Vec`s with boxed slices
Configuration menu - View commit details
-
Copy full SHA for 37608f3 - Browse repository at this point
Copy the full SHA 37608f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc81d58 - Browse repository at this point
Copy the full SHA bc81d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 853f047 - Browse repository at this point
Copy the full SHA 853f047View commit details -
Auto merge of rust-lang#14153 - CraftSpider:v7-metadata, r=CraftSpider
Add v7 metadata support to rust-analyzer Paired to rust-lang#101550
Configuration menu - View commit details
-
Copy full SHA for 89b9940 - Browse repository at this point
Copy the full SHA 89b9940View commit details
Commits on Feb 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6e5ec0b - Browse repository at this point
Copy the full SHA 6e5ec0bView commit details -
Auto merge of rust-lang#14154 - lnicola:rand-typos, r=lnicola
minor: Fix a pair of typos
Configuration menu - View commit details
-
Copy full SHA for 160305b - Browse repository at this point
Copy the full SHA 160305bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 026a8c9 - Browse repository at this point
Copy the full SHA 026a8c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23fc596 - Browse repository at this point
Copy the full SHA 23fc596View commit details -
Auto merge of rust-lang#14156 - Veykril:completion-pod, r=Veykril
internal: Don't reconstruct ref match completion in to_proto manually cc rust-lang/rust-analyzer#12571
Configuration menu - View commit details
-
Copy full SHA for a04054a - Browse repository at this point
Copy the full SHA a04054aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5859190 - Browse repository at this point
Copy the full SHA 5859190View commit details -
Auto merge of rust-lang#14157 - Veykril:inlay, r=Veykril
Adjust binding mode inlay hints to render better with @ patterns
Configuration menu - View commit details
-
Copy full SHA for dd582da - Browse repository at this point
Copy the full SHA dd582daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e550e55 - Browse repository at this point
Copy the full SHA e550e55View commit details -
Auto merge of rust-lang#14160 - Veykril:hover-call, r=Veykril
fix: Bring back hovering call parens for return type info
Configuration menu - View commit details
-
Copy full SHA for 1f2d33f - Browse repository at this point
Copy the full SHA 1f2d33fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6f54d6 - Browse repository at this point
Copy the full SHA a6f54d6View commit details
Commits on Feb 16, 2023
-
Auto merge of rust-lang#14162 - azriel91:bugfix/14161/generate-getter…
…-snippet-cap-check, r=Veykril Conditionally add snippet marker. Fixes rust-lang#14161. Heya, I just added the code with some tests, but not sure if it's *the way* to do it -- I didn't refactor existing methods for the `check` test method, but added another calling layer.
Configuration menu - View commit details
-
Copy full SHA for d011e79 - Browse repository at this point
Copy the full SHA d011e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 404a51f - Browse repository at this point
Copy the full SHA 404a51fView commit details -
Auto merge of rust-lang#14165 - Veykril:completion-item, r=Veykril
internal: Make CompletionItem more POD-like
Configuration menu - View commit details
-
Copy full SHA for b881deb - Browse repository at this point
Copy the full SHA b881debView commit details -
Configuration menu - View commit details
-
Copy full SHA for 936bac3 - Browse repository at this point
Copy the full SHA 936bac3View commit details -
Auto merge of rust-lang#14171 - Ethan-000:master, r=matklad
fix link Fixes rust-lang/rust-analyzer#14170
Configuration menu - View commit details
-
Copy full SHA for a6603fc - Browse repository at this point
Copy the full SHA a6603fcView commit details
Commits on Feb 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 03288eb - Browse repository at this point
Copy the full SHA 03288ebView commit details