-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 5 pull requests #94802
Rollup of 5 pull requests #94802
Commits on Feb 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5941fef - Browse repository at this point
Copy the full SHA 5941fefView commit details
Commits on Mar 4, 2022
-
Change
rustc_deprecated
to usenote
This keeps `reason` around for the time being. This is necessary to avoid breakage during the bootstrap process. This change, as a whole, brings `#[rustc_deprecated]` more in line with `#[deprecated]`.
Configuration menu - View commit details
-
Copy full SHA for 6efc8e3 - Browse repository at this point
Copy the full SHA 6efc8e3View commit details
Commits on Mar 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4654a91 - Browse repository at this point
Copy the full SHA 4654a91View commit details
Commits on Mar 9, 2022
-
diagnostics: use rustc_on_unimplemented to recommend
[].iter()
To make this work, the `#[rustc_on_unimplemented]` data needs to be used to report method resolution errors, which is most of what this commit does. Fixes rust-lang#94581
Configuration menu - View commit details
-
Copy full SHA for 32d7f81 - Browse repository at this point
Copy the full SHA 32d7f81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5636655 - Browse repository at this point
Copy the full SHA 5636655View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38478ea - Browse repository at this point
Copy the full SHA 38478eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 814c18a - Browse repository at this point
Copy the full SHA 814c18aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac2afa0 - Browse repository at this point
Copy the full SHA ac2afa0View commit details
Commits on Mar 10, 2022
-
Rollup merge of rust-lang#92150 - compiler-errors:better_usize_to_wid…
…e_ptr_cast, r=petrochenkov Improve suggestion when casting usize to (possibly) wide pointer I thought rust-lang#92125 was a wonderful idea, so I went ahead and took a stab at it. Not sure if my approach is the best going forward, but I'm happy with the improvement in the error message. Iwill definitely address any changes if people are more opinionated with the wordings or want more features. Also, do I need to add a new error code? (Fixes rust-lang#92125)
Configuration menu - View commit details
-
Copy full SHA for 7473750 - Browse repository at this point
Copy the full SHA 7473750View commit details -
Rollup merge of rust-lang#94635 - jhpratt:merge-deprecated-attrs, r=d…
…avidtwco Merge `#[deprecated]` and `#[rustc_deprecated]` The first commit makes "reason" an alias for "note" in `#[rustc_deprecated]`, while still prohibiting it in `#[deprecated]`. The second commit changes "suggestion" to not just be a feature of `#[rustc_deprecated]`. This is placed behind the new `deprecated_suggestion` feature. This needs a tracking issue; let me know if this PR will be approved and I can create one. The third commit is what permits `#[deprecated]` to be used when `#![feature(staged_api)]` is enabled. This isn't yet used in stdlib (only tests), as it would require duplicating all deprecation attributes until a bootstrap occurs. I intend to submit a follow-up PR that replaces all uses and removes the remaining `#[rustc_deprecated]` code after the next bootstrap. `@rustbot` label +T-libs-api +C-feature-request +A-attributes +S-waiting-on-review
Configuration menu - View commit details
-
Copy full SHA for 313a668 - Browse repository at this point
Copy the full SHA 313a668View commit details -
Rollup merge of rust-lang#94657 - fee1-dead:const_slice_index, r=oli-obk
Constify `Index{,Mut}` for `[T]`, `str`, and `[T; N]` Several panic functions were rewired (via `const_eval_select`) to simpler implementations that do not require formatting for compile-time usage. r? ```@oli-obk```
Configuration menu - View commit details
-
Copy full SHA for fe034cb - Browse repository at this point
Copy the full SHA fe034cbView commit details -
Rollup merge of rust-lang#94746 - notriddle:notriddle/method-rustc-on…
…-unimplemented, r=davidtwco diagnostics: use rustc_on_unimplemented to recommend `[].iter()` To make this work, the `#[rustc_on_unimplemented]` data needs to be used to report method resolution errors, which is most of what this commit does. Fixes rust-lang#94581
Configuration menu - View commit details
-
Copy full SHA for e7281d0 - Browse repository at this point
Copy the full SHA e7281d0View commit details -
Rollup merge of rust-lang#94788 - estebank:removal-suggestion, r=petr…
…ochenkov Account for suggestions for complete removal of lines Fix rust-lang#94192.
Configuration menu - View commit details
-
Copy full SHA for 6bbaca7 - Browse repository at this point
Copy the full SHA 6bbaca7View commit details