-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 8 pull requests #120251
Rollup of 8 pull requests #120251
Commits on Jan 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f2ef88b - Browse repository at this point
Copy the full SHA f2ef88bView commit details
Commits on Jan 20, 2024
-
Track
verbose
andverbose_internals
bjorn3 says: > On errors we don't finalize the incr comp cache, but non-fatal diagnostics are cached afaik. Otherwise we would have to replay the query in question, which we may not be able to do if the query key is not reconstructible from the dep node fingerprint. So we must track these flags to avoid replaying incorrect diagnostics.
Configuration menu - View commit details
-
Copy full SHA for c3e4c45 - Browse repository at this point
Copy the full SHA c3e4c45View commit details
Commits on Jan 22, 2024
-
Fix a
trimmed_def_paths
assertion failure.`RegionHighlightMode::force_print_trimmed_def_path` can call `trimmed_def_paths` even when `tcx.sess.opts.trimmed_def_paths` is false. Based on the `force` in the method name, it seems this is deliberate, so I have removed the assertion. Fixes rust-lang#120035.
Configuration menu - View commit details
-
Copy full SHA for 012a304 - Browse repository at this point
Copy the full SHA 012a304View commit details -
Document
Token{Stream,Tree}::Display
more thoroughly.To expressly warn against the kind of proc macro implementation that was broken in rust-lang#119875.
Configuration menu - View commit details
-
Copy full SHA for c4fc9ff - Browse repository at this point
Copy the full SHA c4fc9ffView commit details -
Fix msys2 tty detection for /dev/ptmx
Our "true negative" detection assumes that if at least one std handle is a Windows console then no other handle will be a msys2 tty pipe. This turns out to be a faulty assumption in the case of `/dev/ptmx`.
Configuration menu - View commit details
-
Copy full SHA for e74c667 - Browse repository at this point
Copy the full SHA e74c667View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbc1f07 - Browse repository at this point
Copy the full SHA dbc1f07View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9ea07d - Browse repository at this point
Copy the full SHA a9ea07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1f1075 - Browse repository at this point
Copy the full SHA d1f1075View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a20cf1 - Browse repository at this point
Copy the full SHA 9a20cf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 483382b - Browse repository at this point
Copy the full SHA 483382bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f88e643 - Browse repository at this point
Copy the full SHA f88e643View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5a4e07 - Browse repository at this point
Copy the full SHA c5a4e07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ff1024 - Browse repository at this point
Copy the full SHA 3ff1024View commit details -
Rollup merge of rust-lang#119664 - ChrisDenton:mingw-pty, r=thomcc
Fix tty detection for msys2's `/dev/ptmx` Our "true negative" detection assumes that if at least one std handle is a Windows console then no other handle will be a msys2 tty pipe. This turns out to be a faulty assumption in the case of redirection to `/dev/ptmx` in an msys2 shell. Maybe this is an msys2 bug but in any case we should try to make it work. An alternative to this would be to replace the "true negative" detection with an attempt to detect if we're in an msys environment (e.g. by sniffing environment variables) but that seems like it'd be flaky too. Fixes rust-lang#119658
Configuration menu - View commit details
-
Copy full SHA for 67d0936 - Browse repository at this point
Copy the full SHA 67d0936View commit details -
Rollup merge of rust-lang#120104 - Nadrieril:never-pat-diverges, r=co…
…mpiler-errors never_patterns: Count `!` bindings as diverging A binding that is a never pattern is not reachable, hence counts as diverging code. This allows in particular `fn foo(!: Void) -> SomeType {}` to typecheck. r? ``@compiler-errors``
Configuration menu - View commit details
-
Copy full SHA for 042cc72 - Browse repository at this point
Copy the full SHA 042cc72View commit details -
Rollup merge of rust-lang#120109 - joboet:move_pal_cmath, r=ChrisDenton
Move cmath into `sys` Part of rust-lang#117276. r? ``@ChrisDenton``
Configuration menu - View commit details
-
Copy full SHA for 42e1db5 - Browse repository at this point
Copy the full SHA 42e1db5View commit details -
Rollup merge of rust-lang#120143 - compiler-errors:consolidate-instan…
…ce-resolve-for-coroutines, r=oli-obk Consolidate logic around resolving built-in coroutine trait impls Deduplicates a lot of code. Requires defining a new lang item for `Coroutine::resume` for consistency, but it seems not harmful at worst, and potentially later useful at best. r? oli-obk
Configuration menu - View commit details
-
Copy full SHA for 221115c - Browse repository at this point
Copy the full SHA 221115cView commit details -
Rollup merge of rust-lang#120159 - jyn514:track-verbose, r=wesleywiser
Track `verbose` and `verbose_internals` `verbose_internals` has been UNTRACKED since it was introduced. When i added `verbose` in rust-lang#119129 i made it UNTRACKED as well. ``@bjorn3`` says: rust-lang#119286 (comment) > On errors we don't finalize the incr comp cache, but non-fatal diagnostics are cached afaik. Otherwise we would have to replay the query in question, which we may not be able to do if the query key is not reconstructible from the dep node fingerprint. So we must track these flags to avoid replaying incorrect diagnostics. r? incremental
Configuration menu - View commit details
-
Copy full SHA for 8966d60 - Browse repository at this point
Copy the full SHA 8966d60View commit details -
Rollup merge of rust-lang#120216 - nnethercote:fix-trimmed_def_paths-…
…assertion, r=compiler-errors Fix a `trimmed_def_paths` assertion failure. `RegionHighlightMode::force_print_trimmed_def_path` can call `trimmed_def_paths` even when `tcx.sess.opts.trimmed_def_paths` is false. Based on the `force` in the method name, it seems this is deliberate, so I have removed the assertion. Fixes rust-lang#120035. r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 31b56a8 - Browse repository at this point
Copy the full SHA 31b56a8View commit details -
Rollup merge of rust-lang#120220 - nnethercote:TokenStream-Display-do…
…cs, r=petrochenkov Document `Token{Stream,Tree}::Display` more thoroughly. To expressly warn against the kind of proc macro implementation that was broken in rust-lang#119875. r? ``@petrochenkov``
Configuration menu - View commit details
-
Copy full SHA for a430718 - Browse repository at this point
Copy the full SHA a430718View commit details -
Rollup merge of rust-lang#120233 - oli-obk:revert_trait_obj_upcast_st…
…abilization, r=lcnr Revert stabilization of trait_upcasting feature Reverts rust-lang#118133 This reverts commit 6d2b84b, reversing changes made to 73bc121. The feature has a soundness bug: * rust-lang#120222 It is unclear to me whether we'll actually want to destabilize, but I thought it was still prudent to open the PR for easy destabilization once we get there.
Configuration menu - View commit details
-
Copy full SHA for a787232 - Browse repository at this point
Copy the full SHA a787232View commit details