diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-30 00:04:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-30 00:04:11 +0100 |
| commit | 103c3a38a669a481cf2ae0c1e89a8fc0642de50c (patch) | |
| tree | 5b740cc1d21f689247749df5e0f9683949769c70 /compiler/rustc_codegen_llvm/src | |
| parent | 6e2593d3430ea6675b23387288043524d693fe8f (diff) | |
| parent | c6de4d55aab6d06f040202cbe39dc5c32809aac2 (diff) | |
| download | rust-103c3a38a669a481cf2ae0c1e89a8fc0642de50c.tar.gz rust-103c3a38a669a481cf2ae0c1e89a8fc0642de50c.zip | |
Rollup merge of #93358 - compiler-errors:is-not-const, r=fee1-dead
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````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
