mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
103c3a38a6
Add note suggesting that predicate may be satisfied, but is not `const` Not sure if we should be printing this in addition to, or perhaps _instead_ of the help message: ``` help: the trait `~const Add` is not implemented for `NonConstAdd` ``` Also added `ParamEnv::is_const` and `PolyTraitPredicate::is_const_if_const` and, in a separate commit, used those in other places instead of `== hir::Constness::Const`, etc. r? ````@fee1-dead```` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |