You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need it to enable some attributes that are otherwise not available,
this all is to avoid
error[E0658]: `if` is not allowed in a `const`
-->
/home/mjost/.cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.43/src/int/specialized_div_rem/mod.rs:84:12
|
84 | } else if cfg!(any(target_arch = "sparc", target_arch =
"sparc64")) {
| ____^
85 | | // LZD or LZCNT on SPARC only exists for the VIS 3
extension and later.
86 | | cfg!(target_feature = "vis3")
87 | | } else if cfg!(any(target_arch = "riscv32", target_arch =
"riscv64")) {
... |
92 | | true
93 | | }
| |___^
|
= note: see issue #49146
<rust-lang/rust#49146> for more information
= help: add `#![feature(const_if_match)]` to the crate attributes to
enable
0 commit comments