-
Notifications
You must be signed in to change notification settings - Fork 1.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
Rustup #9516
Rustup #9516
Commits on Sep 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for abd3e7e - Browse repository at this point
Copy the full SHA abd3e7eView commit details
Commits on Sep 7, 2022
-
rustc: Parameterize
ty::Visibility
over used IDIt allows using `LocalDefId` instead of `DefId` when possible, and also encode cheaper `Visibility<DefIndex>` into metadata.
Configuration menu - View commit details
-
Copy full SHA for 9136096 - Browse repository at this point
Copy the full SHA 9136096View commit details
Commits on Sep 8, 2022
-
This shrinks `hir::Ty` from 72 to 48 bytes. `visit_lifetime` is added to the HIR stats collector because these types are now stored in memory on their own, instead of being within other types.
Configuration menu - View commit details
-
Copy full SHA for 977b6e2 - Browse repository at this point
Copy the full SHA 977b6e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c86a9c0 - Browse repository at this point
Copy the full SHA c86a9c0View commit details -
Rollup merge of #101498 - petrochenkov:visparam, r=cjgillot
rustc: Parameterize `ty::Visibility` over used ID It allows using `LocalDefId` instead of `DefId` when possible, and also encode cheaper `Visibility<DefIndex>` into metadata.
Configuration menu - View commit details
-
Copy full SHA for c3db185 - Browse repository at this point
Copy the full SHA c3db185View commit details -
Auto merge of #101467 - nnethercote:shrink-hir-Ty-Pat, r=spastorino
Shrink `hir::Ty` and `hir::Pat` r? `@ghost`
Configuration menu - View commit details
-
Copy full SHA for 30a5815 - Browse repository at this point
Copy the full SHA 30a5815View commit details -
Rollup merge of #101501 - Jarcho:tcx_lint_passes, r=davidtwco
Allow lint passes to be bound by `TyCtxt` This will allow storing things like `Ty<'tcx>` inside late lint passes. It's already possible to store various id types so they're already implicitly bound to a specific `TyCtxt`. r? rust-lang/compiler
Configuration menu - View commit details
-
Copy full SHA for 9faa588 - Browse repository at this point
Copy the full SHA 9faa588View commit details -
Auto merge of #101577 - Dylan-DPC:rollup-l9xw7i7, r=Dylan-DPC
Rollup of 7 pull requests Successful merges: - #98933 (Opaque types' generic params do not imply anything about their hidden type's lifetimes) - #101041 (translations(rustc_session): migrates rustc_session to use SessionDiagnostic - Pt. 2) - #101424 (Adjust and slightly generalize operator error suggestion) - #101496 (Allow lower_lifetime_binder receive a closure) - #101501 (Allow lint passes to be bound by `TyCtxt`) - #101515 (Recover from typo where == is used in place of =) - #101545 (Remove unnecessary `PartialOrd` and `Ord`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Configuration menu - View commit details
-
Copy full SHA for f47a1e2 - Browse repository at this point
Copy the full SHA f47a1e2View commit details
Commits on Sep 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b640eaa - Browse repository at this point
Copy the full SHA b640eaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac1c68a - Browse repository at this point
Copy the full SHA ac1c68aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 854f751 - Browse repository at this point
Copy the full SHA 854f751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98bf99e - Browse repository at this point
Copy the full SHA 98bf99eView commit details
Commits on Sep 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 41b3084 - Browse repository at this point
Copy the full SHA 41b3084View commit details -
Auto merge of #98559 - jackh726:remove-reempty, r=oli-obk
Remove ReEmpty r? rust-lang/types
Configuration menu - View commit details
-
Copy full SHA for 42361da - Browse repository at this point
Copy the full SHA 42361daView commit details
Commits on Sep 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f6005c6 - Browse repository at this point
Copy the full SHA f6005c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3081535 - Browse repository at this point
Copy the full SHA 3081535View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d1469a - Browse repository at this point
Copy the full SHA 0d1469aView commit details -
Auto merge of #99334 - NiklasJonsson:84447/error-privacy, r=oli-obk
rustc_error, rustc_private: Switch to stable hash containers Relates rust-lang/rust#84447
Configuration menu - View commit details
-
Copy full SHA for 4e313a5 - Browse repository at this point
Copy the full SHA 4e313a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0e249c - Browse repository at this point
Copy the full SHA c0e249cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64a42db - Browse repository at this point
Copy the full SHA 64a42dbView commit details
Commits on Sep 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b95b285 - Browse repository at this point
Copy the full SHA b95b285View commit details -
Auto merge of #100640 - reitermarkus:socket-display-buffer, r=thomcc
Use `DisplayBuffer` for socket addresses. Continuation of rust-lang/rust#100625 for socket addresses. Renames `net::addr` to `net::addr::socket`, `net::ip` to `net::addr::ip` and `net::ip::display_buffer::IpDisplayBuffer` to `net::addr::display_buffer::DisplayBuffer`.
Configuration menu - View commit details
-
Copy full SHA for 985afe0 - Browse repository at this point
Copy the full SHA 985afe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27e91b6 - Browse repository at this point
Copy the full SHA 27e91b6View commit details
Commits on Sep 14, 2022
-
Auto merge of #101709 - nnethercote:simplify-visitors-more, r=cjgillot
Simplify visitors more A successor to #100392. r? `@cjgillot`
Configuration menu - View commit details
-
Copy full SHA for cf043f6 - Browse repository at this point
Copy the full SHA cf043f6View commit details -
Auto merge of #101212 - eholk:dyn-star, r=compiler-errors
Initial implementation of dyn* This PR adds extremely basic and incomplete support for [dyn*](https://smallcultfollowing.com/babysteps//blog/2022/03/29/dyn-can-we-make-dyn-sized/). The goal is to get something in tree behind a flag to make collaboration easier, and also to make sure the implementation so far is not unreasonable. This PR does quite a few things: * Introduce `dyn_star` feature flag * Adds parsing for `dyn* Trait` types * Defines `dyn* Trait` as a sized type * Adds support for explicit casts, like `42usize as dyn* Debug` * Including const evaluation of such casts * Adds codegen for drop glue so things are cleaned up properly when a `dyn* Trait` object goes out of scope * Adds codegen for method calls, at least for methods that take `&self` Quite a bit is still missing, but this gives us a starting point. Note that this is never intended to become stable surface syntax for Rust, but rather `dyn*` is planned to be used as an implementation detail for async functions in dyn traits. Joint work with `@nikomatsakis` and `@compiler-errors.` r? `@bjorn3`
Configuration menu - View commit details
-
Copy full SHA for f6a07d1 - Browse repository at this point
Copy the full SHA f6a07d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 525e0c8 - Browse repository at this point
Copy the full SHA 525e0c8View commit details
Commits on Sep 15, 2022
-
Auto merge of #101811 - flip1995:clippyup, r=flip1995
Clippy pre beta branch fix Before beta is branched on Friday, I want to move the `unused_peekable` lint that was added in this release cycle (1.65) to `nursery`. This lint was already reported twice (rust-lang#9456, rust-lang#9462) in a short time, so it is probably a good idea to fix it before it hits beta and then stable. r? `@Manishearth`
Configuration menu - View commit details
-
Copy full SHA for dcc6153 - Browse repository at this point
Copy the full SHA dcc6153View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be8b73 - Browse repository at this point
Copy the full SHA 2be8b73View commit details
Commits on Sep 16, 2022
-
Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque…
…_type, r=estebank"" This reverts commit 4a742a6.
Configuration menu - View commit details
-
Copy full SHA for c2e9c99 - Browse repository at this point
Copy the full SHA c2e9c99View commit details
Commits on Sep 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 70f4c71 - Browse repository at this point
Copy the full SHA 70f4c71View commit details
Commits on Sep 20, 2022
-
Auto merge of #99806 - oli-obk:unconstrained_opaque_type, r=estebank
Allow patterns to constrain the hidden type of opaque types fixes #96572 reverts a revert as original PR was a perf regression that was fixed by reverting it: rust-lang/rust#99368 (comment)) TODO: * check if rust-lang/rust#99685 is avoided
Configuration menu - View commit details
-
Copy full SHA for 0dc24ca - Browse repository at this point
Copy the full SHA 0dc24caView commit details
Commits on Sep 21, 2022
-
Merge commit '7248d06384c6a90de58c04c1f46be88821278d8b' into sync-fro…
…m-clippy
David Koloski committedSep 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 4d01529 - Browse repository at this point
Copy the full SHA 4d01529View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b1e8f - Browse repository at this point
Copy the full SHA 09b1e8fView commit details
Commits on Sep 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for adc7e3e - Browse repository at this point
Copy the full SHA adc7e3eView commit details -
Rollup merge of #102123 - schteve:clippy-note, r=Manishearth
Add note to clippy::non_expressive_names doc Addresses confusion in rust-lang#9514 by updating the lint docs.
Configuration menu - View commit details
-
Copy full SHA for 2063b8f - Browse repository at this point
Copy the full SHA 2063b8fView commit details
Commits on Sep 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 26861fb - Browse repository at this point
Copy the full SHA 26861fbView commit details -
Auto merge of #102056 - b-naber:unevaluated, r=lcnr
Introduce mir::Unevaluated Previously the distinction between unevaluated constants in the type-system and in mir was not explicit and a little confusing. Probably better to introduce its own type for that. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for d9277c6 - Browse repository at this point
Copy the full SHA d9277c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 781e45c - Browse repository at this point
Copy the full SHA 781e45cView commit details -
Stabilize const
BTree{Map,Set}::new
Since `len` and `is_empty` are not const stable yet, this also creates a new feature for them since they previously used the same `const_btree_new` feature.
Configuration menu - View commit details
-
Copy full SHA for 334f453 - Browse repository at this point
Copy the full SHA 334f453View commit details -
Fix clippy's const fn stability check for CURRENT_RUSTC_VERSION
Since clippy can use a projects MSRV for its lints, it might not want to consider functions as const stable if they have been added lately. Functions that have been stabilized this version use CURRENT_RUSTC_VERSION as their version, which gets then turned into the current version, which might be something like `1.66.0-dev`. The version parser cannot deal with this version, so it has to be stripped off.
Configuration menu - View commit details
-
Copy full SHA for e30b37b - Browse repository at this point
Copy the full SHA e30b37bView commit details
Commits on Sep 24, 2022
-
Auto merge of #102068 - cjgillot:erased-lifetime-print, r=eholk
Always print '_, even for erased lifetimes. Explicit lifetime arguments are now the recommended syntax in rust 2018 and rust 2021. This PR applies this discipline to rustc itself.
Configuration menu - View commit details
-
Copy full SHA for de8a1dd - Browse repository at this point
Copy the full SHA de8a1ddView commit details -
separate definitions and
HIR
ownersfix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)`
Configuration menu - View commit details
-
Copy full SHA for ea75178 - Browse repository at this point
Copy the full SHA ea75178View commit details
Commits on Sep 26, 2022
-
Rollup merge of #102197 - Nilstrieb:const-new-🌲, r=Mark-Simulacrum
Stabilize const `BTree{Map,Set}::new` The FCP was completed in #71835. Since `len` and `is_empty` are not const stable yet, this also creates a new feature for them since they previously used the same `const_btree_new` feature.
Configuration menu - View commit details
-
Copy full SHA for c69edba - Browse repository at this point
Copy the full SHA c69edbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06568fd - Browse repository at this point
Copy the full SHA 06568fdView commit details
Commits on Sep 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e5ce6d1 - Browse repository at this point
Copy the full SHA e5ce6d1View commit details
Commits on Sep 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bbcde66 - Browse repository at this point
Copy the full SHA bbcde66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 458e832 - Browse repository at this point
Copy the full SHA 458e832View commit details
Commits on Sep 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5797911 - Browse repository at this point
Copy the full SHA 5797911View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67af127 - Browse repository at this point
Copy the full SHA 67af127View commit details -
Configuration menu - View commit details
-
Copy full SHA for 924c1ce - Browse repository at this point
Copy the full SHA 924c1ceView commit details