-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
#120447
Subtree update of rust-analyzer
#120447
Commits on Jan 12, 2024
-
Detect
NulInCStr
error earlier.By making it an `EscapeError` instead of a `LitError`. This makes it like the other errors produced when checking string literals contents, e.g. for invalid escape sequences or bare CR chars. NOTE: this means these errors are issued earlier, before expansion, which changes behaviour. It will be possible to move the check back to the later point if desired. If that happens, it's likely that all the string literal contents checks will be delayed together. One nice thing about this: the old approach had some code in `report_lit_error` to calculate the span of the nul char from a range. This code used a hardwired `+2` to account for the `c"` at the start of a C string literal, but this should have changed to a `+3` for raw C string literals to account for the `cr"`, which meant that the caret in `cr"` nul error messages was one short of where it should have been. The new approach doesn't need any of this and avoids the off-by-one error.
Configuration menu - View commit details
-
Copy full SHA for 6001c50 - Browse repository at this point
Copy the full SHA 6001c50View commit details
Commits on Jan 18, 2024
-
fix(rust-analyzer): use new pkgid spec to compare
Starting from cargo#13311, Cargo's compiler artifact message uses Package ID specification as package's identifier format.
Configuration menu - View commit details
-
Copy full SHA for 6231ca5 - Browse repository at this point
Copy the full SHA 6231ca5View commit details -
Rollup merge of rust-lang#119172 - nnethercote:earlier-NulInCStr, r=p…
…etrochenkov Detect `NulInCStr` error earlier. By making it an `EscapeError` instead of a `LitError`. This makes it like the other errors produced when checking string literals contents, e.g. for invalid escape sequences or bare CR chars. NOTE: this means these errors are issued earlier, before expansion, which changes behaviour. It will be possible to move the check back to the later point if desired. If that happens, it's likely that all the string literal contents checks will be delayed together. One nice thing about this: the old approach had some code in `report_lit_error` to calculate the span of the nul char from a range. This code used a hardwired `+2` to account for the `c"` at the start of a C string literal, but this should have changed to a `+3` for raw C string literals to account for the `cr"`, which meant that the caret in `cr"` nul error messages was one short of where it should have been. The new approach doesn't need any of this and avoids the off-by-one error. r? ```@fee1-dead```
Configuration menu - View commit details
-
Copy full SHA for 7d4980a - Browse repository at this point
Copy the full SHA 7d4980aView commit details
Commits on Jan 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1a9ef23 - Browse repository at this point
Copy the full SHA 1a9ef23View commit details -
Rollup merge of rust-lang#120084 - weihanglo:pkgid-spec, r=Mark-Simul…
…acrum fix(rust-analyzer): use new pkgid spec to compare Starting from rust-lang/cargo#13311, Cargo's compiler artifact message uses Package ID specification as package's identifier format. Zulip topic: https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/proc-macro-test.20bootstrap.20and.20pkgid.20JSON cc `@ehuss`
Configuration menu - View commit details
-
Copy full SHA for 0661390 - Browse repository at this point
Copy the full SHA 0661390View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4866b6 - Browse repository at this point
Copy the full SHA e4866b6View commit details -
Auto merge of rust-lang#16409 - mu001999:master, r=HKalbasi
Remove unused codes Detected by rust-lang#118257
Configuration menu - View commit details
-
Copy full SHA for 47b0f46 - Browse repository at this point
Copy the full SHA 47b0f46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8af2b4d - Browse repository at this point
Copy the full SHA 8af2b4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6e6df - Browse repository at this point
Copy the full SHA ef6e6dfView commit details -
Revert "Detect
NulInCStr
error earlier."This reverts commit 6001c50.
Configuration menu - View commit details
-
Copy full SHA for 0ea0565 - Browse repository at this point
Copy the full SHA 0ea0565View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5607714 - Browse repository at this point
Copy the full SHA 5607714View commit details -
Auto merge of rust-lang#16412 - lnicola:sync-from-rust, r=lnicola
internal: Sync from downstream
Configuration menu - View commit details
-
Copy full SHA for d410d4a - Browse repository at this point
Copy the full SHA d410d4aView commit details
Commits on Jan 22, 2024
-
internal: Make TryToNav trait public
Currently there is no proper way to get a target FileRange for a given Definition.
Configuration menu - View commit details
-
Copy full SHA for 231f730 - Browse repository at this point
Copy the full SHA 231f730View commit details
Commits on Jan 23, 2024
-
5
Configuration menu - View commit details
-
Copy full SHA for 2370b70 - Browse repository at this point
Copy the full SHA 2370b70View commit details
Commits on Jan 24, 2024
-
Auto merge of rust-lang#16420 - Nadrieril:use-upstream-pattern-analys…
…is, r=Veykril Use upstream exhaustiveness checker! Because it has been librarified! The extra `Apache-2.0 WITH LLVM-exception` license is for `rustc_apfloat`. Also this duplicates `rustc_index` because the other upstream deps are still on an earlier version. They should be bumpable now though. Good thing is that we don't need this new crate to be synchronized with the others, which will make our lives easier.
Configuration menu - View commit details
-
Copy full SHA for 0d52934 - Browse repository at this point
Copy the full SHA 0d52934View commit details
Commits on Jan 25, 2024
-
Reapply "Detect
NulInCStr
error earlier."This reverts commit 0ea0565.
Configuration menu - View commit details
-
Copy full SHA for b1b6e0c - Browse repository at this point
Copy the full SHA b1b6e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b99cb - Browse repository at this point
Copy the full SHA b1b99cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea94c10 - Browse repository at this point
Copy the full SHA ea94c10View commit details -
Auto merge of rust-lang#16426 - lnicola:bump-rustc, r=lnicola
minor: Bump rustc crates This also reverts the earlier revert.
Configuration menu - View commit details
-
Copy full SHA for 38f7a34 - Browse repository at this point
Copy the full SHA 38f7a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4505f03 - Browse repository at this point
Copy the full SHA 4505f03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1374bc8 - Browse repository at this point
Copy the full SHA 1374bc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f05e7c - Browse repository at this point
Copy the full SHA 8f05e7cView commit details
Commits on Jan 26, 2024
-
Auto merge of rust-lang#16415 - Waqar144:work/make-try-to-nav-pub, r=…
…Veykril internal: Make TryToNav trait public Currently there is no proper way to get a target FileRange for a given Definition.
Configuration menu - View commit details
-
Copy full SHA for f090205 - Browse repository at this point
Copy the full SHA f090205View commit details -
Configuration menu - View commit details
-
Copy full SHA for e320004 - Browse repository at this point
Copy the full SHA e320004View commit details -
Configuration menu - View commit details
-
Copy full SHA for 880baa9 - Browse repository at this point
Copy the full SHA 880baa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8ef6c2 - Browse repository at this point
Copy the full SHA d8ef6c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a34341 - Browse repository at this point
Copy the full SHA 5a34341View commit details -
Auto merge of rust-lang#16431 - Ar4ys:fix-E0107-error-range-in-proc-m…
…acro, r=Veykril Replaced adjusted_display_range with adjusted_display_range_new in mismatched_arg_count For detailed description - see related issue. Fixes: rust-lang#16407
Configuration menu - View commit details
-
Copy full SHA for 596e5c7 - Browse repository at this point
Copy the full SHA 596e5c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cf7b5f - Browse repository at this point
Copy the full SHA 6cf7b5fView commit details
Commits on Jan 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ad5e2cf - Browse repository at this point
Copy the full SHA ad5e2cfView commit details -
Auto merge of rust-lang#16435 - SomeoneToIgnore:less_resolve_data, r=…
…lnicola Do not return code lens data after resolving
Configuration menu - View commit details
-
Copy full SHA for 4a23744 - Browse repository at this point
Copy the full SHA 4a23744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a5829c - Browse repository at this point
Copy the full SHA 8a5829cView commit details -
Auto merge of rust-lang#16434 - Veykril:things, r=Veykril
internal: Restructure and cleanup hir-expand a bit
Configuration menu - View commit details
-
Copy full SHA for 27c3ed9 - Browse repository at this point
Copy the full SHA 27c3ed9View commit details -
Auto merge of rust-lang#16427 - Young-Flash:fix_no_such_field_diagnos…
…tics, r=Veykril fix: filter out cfg disabled filed when lowering `RecordPat` we should filter out field with disabled cfg when lowering ast `RecordPat` to hir. close rust-lang/rust-analyzer#16169
Configuration menu - View commit details
-
Copy full SHA for 7219414 - Browse repository at this point
Copy the full SHA 7219414View commit details
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e71b4c7 - Browse repository at this point
Copy the full SHA e71b4c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7e81cf - Browse repository at this point
Copy the full SHA e7e81cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 309d615 - Browse repository at this point
Copy the full SHA 309d615View commit details -
Revert "Silence triagebot on subtree syncs"
This reverts commit e7e81cf.
Configuration menu - View commit details
-
Copy full SHA for 7159d88 - Browse repository at this point
Copy the full SHA 7159d88View commit details