-
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
Rollup of 7 pull requests #114181
Rollup of 7 pull requests #114181
Conversation
…t doesn't exist Fix rust-lang#113881.
I have verified that the test fails if stderr begins to contain output by making sure the test fails when I add eprintln!("some output on stderr"); to the compiler (I added it to `fn build_session()`).
When `staged_api` is enabled, effective visibilities are computed earlier and this can trigger an ICE in some cases. In particular, if a impl of a trait method has a visibility then an error will be reported for that, but when privacy invariants are being checked, the effective visibility will still be greater than the nominal visbility and that will trigger a `span_bug!`. However, this invariant - that effective visibilites are limited to nominal visibility - doesn't make sense for associated functions. Signed-off-by: David Wood <[email protected]>
…effective-vis-gt-nominal-vis-when-trait-method-vis, r=petrochenkov privacy: no nominal visibility for assoc fns Fixes rust-lang#113860. When `staged_api` is enabled, effective visibilities are computed earlier and this can trigger an ICE in some cases. In particular, if a impl of a trait method has a visibility then an error will be reported for that, but when privacy invariants are being checked, the effective visibility will still be greater than the nominal visbility and that will trigger a `span_bug!`. However, this invariant - that effective visibilites are limited to nominal visibility - doesn't make sense for associated functions.
…davidtwco When flushing delayed span bugs, write to the ICE dump file even if it doesn't exist Fix rust-lang#113881.
…ethod-sugg, r=estebank Adjust spans correctly for fn -> method suggestion Fixes rust-lang#114131
…-name, r=spastorino Skip reporting item name when checking RPITIT GAT's associated type bounds hold Doesn't really make sense to label an item that has a name that users can't really mention. Fixes rust-lang#114145. Also fixes rust-lang#113794. r? `@spastorino`
…=spastorino Insert RPITITs that were shadowed by missing ADTs that resolve to [type error] Comment inline explains how this can happen. Fixes rust-lang#113903
Replace a lazy `RefCell<Option<T>>` with `OnceCell<T>` This code was using `RefCell<Option<T>>` to manually implement lazy initialization. Now that we have `OnceCell` in the standard library, we can just use that instead. In particular, this avoids a confusing doubly-nested option, because the value being lazily computed is itself an `Option<Symbol>`.
…ompiler-errors Add regression test for `--cap-lints allow` and trait bounds warning Closes rust-lang#43134 I have verified that the test fails if stderr begins to contain output by making sure the test fails when I add eprintln!("some output on stderr"); to the compiler (I added it to `fn build_session()`).
@bors r+ rollup=never p=7 |
⌛ Testing commit a4b9405 with merge 80ac6f235c080155f120d75bae72735825d70896... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
@bors retry network failure while uploading artifacts to aws |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: 04abc370b9 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (ca1f813): 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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 649.942s -> 651.453s (0.23%) |
Successful merges:
RefCell<Option<T>>
withOnceCell<T>
#114155 (Replace a lazyRefCell<Option<T>>
withOnceCell<T>
)--cap-lints allow
and trait bounds warning #114164 (Add regression test for--cap-lints allow
and trait bounds warning)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup