-
Notifications
You must be signed in to change notification settings - Fork 14.1k
rust-analyzer subtree update
#149602
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 subtree update
#149602
Conversation
We don't need it anymore; `ParamEnv` is enough. A lot of code relied on getting the crate from the `TraitEnvironment`. Some had it readily available from other sources, some changed to take a new struct `ParamEnvAndCrate`.
rustdoc has a separate environment variable for banning warnings, so set that in the GitHub action configuration. rust-lang/cargo#8424 (comment) Fix all the rustdoc warnings on unknown types or functions. I've updated references wherever it's obvious, otherwise I've replaced the rustdoc link with plain backticks. There were also some cases where rustdoc links referred to private APIs. I've disabled the rustdoc private API warning in those crates.
Previously, rust-analyzer would drop discover requests that arrived before we'd finished processing the previous request. Fix this by allowing multiple discover requests to be active. Keep track of the number of discover operations for the quiescence check, and keep the process handles until they terminate.
Now that there's a table of contents rendered in the left sidebar, there doesn't seem to be much value in rendering a table of contents on the page too. The sidebar TOC was added in mdbook 0.5: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#05-migration-guide
internal: Remove `TraitEnvironment`
fix(spelling): underling -> underlying
internal: Remove mdbook-toc usage
minor: Use 'deferred task' terminology consistently
Fix rustdoc warnings and add CI
…uests fix: Allow multiple discover operations
Simplify the code a bit.
…display minor: Introduce a type alias for `HirDisplay`'s `Result`
Example
---
```rust
fn main() {
let x = &$0
}
```
**Before this PR**
```rust
fn main() {
let x = &loop {
$0
}
}
```
**After this PR**
```rust
fn main() {
let x = &loop {
$0
};
}
```
…t-semi Fix nested expr missing semicolon in incomplete-let
fix: More proc-macro-srv proto fixes
|
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
|
@bors r+ p=2 rollup=always |
|
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 5325015 (parent) -> 556beb9 (this PR) Test differencesShow 4 test diffs4 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 556beb9ec72360512d0294eb0855c92fb2c20c88 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (556beb9): 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)Results (secondary 2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 469.794s -> 468.789s (-0.21%) |
Subtree update of
rust-analyzerto rust-lang/rust-analyzer@633cff2.Created using https://github.com/rust-lang/josh-sync.
r? @ghost