-
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 4 pull requests #63134
Rollup of 4 pull requests #63134
Conversation
This is a modified version of the test I added previously. The difference is this version implements a wrapper around std::any::type_name versus core::intrinsics::type_name, in order to show that it works as desired / intended.
Specifically the `#[rustc_const_unstable(feature = "const_type_name")]` attribute, as well as marking the actual function as `const`.
Update RLS and Rustfmt Supersedes rust-lang#62537. Closes rust-lang#62803. Fixes fallout after rust-lang#62679. r? @ghost
…=varkor Turn `INCOMPLETE_FEATURES` into lint We do this because it is annoying to see the warning when building rustc and because this is better from a "separation of concerns" POV. The drawback to this change is that this will respect `--cap-lints`. Also note that this is not a buffered lint so if there are fatal parser errors then the lint will not trigger. r? @varkor
…, r=oli-obk `const fn`-ify `std::any::type_name` as laid out in rust-lang#63084 A test, based on the one I added when I implemented support for the underlying `core::intrinsics::type_name` being allowed in `const fn` contexts, is included.
…-obk Subslice patterns: Test passing static & dynamic semantics. Working towards testing coverage for rust-lang#62254. See https://github.com/rust-lang/rfcs/blob/master/text/2359-subslice-pattern-syntax.md for the RFC. r? @oli-obk cc @petrochenkov
@bors r+ p=20 rollup=never |
📌 Commit 10488da has been approved by |
⌛ Testing commit 10488da with merge 3f5904afcd200fb21cd09566f838cb6c3c7498fd... |
💔 Test failed - checks-azure |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Successful merges:
INCOMPLETE_FEATURES
into lint #63095 (TurnINCOMPLETE_FEATURES
into lint)const fn
-ifystd::any::type_name
as laid out in #63084 #63123 (const fn
-ifystd::any::type_name
as laid out in Tracking issue forconst fn
type_name
#63084)Failed merges:
r? @ghost