-
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
allow_internal_unstable
attr only allowed once per function
#77088
Comments
Error: Label P-low can only be set by Rust team members Please let |
#76807 just refactored a few individual calls to rust/compiler/rustc_mir/src/transform/check_consts/mod.rs Lines 61 to 65 in 6d3acf5
rust/compiler/rustc_attr/src/builtin.rs Lines 1023 to 1041 in 6d3acf5
|
Error: Parsing assign command in comment failed: ...'n bugadani' | error: user should start with @ at >| ''... Please let |
This comment has been minimized.
This comment has been minimized.
It doesn't hurt to double check, just takes some time :) |
Discussed in zulip: https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Using.20const.20unreachable.20in.20libcore/near/210673352
The problem is that compiler doesn't accept code like this:
But it accepts code when merging mutiple
allow_internal_unstable
annotations into one: #77023Meta
rustc --version --verbose
: Version 1.48.0-nightly (0da5800 2020-09-22)cc #76807 which modified some const stability checks.
@rustbot modify labels: E-mentor
The text was updated successfully, but these errors were encountered: