about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-23 08:14:30 +0200
committerGitHub <noreply@github.com>2022-10-23 08:14:30 +0200
commit1a077420f864868ec0c8b5d401a4dbb60f18c77d (patch)
tree9c8ec52e63ac9eb7e577f916ee800e9bfb4ba958 /compiler/rustc_mir_dataflow/src/errors.rs
parent5290d5e32194aeb7cab5167a03d66ad35f76247a (diff)
parent6e21b7a9b7e5e63cbc744614fafeb812643ece65 (diff)
downloadrust-1a077420f864868ec0c8b5d401a4dbb60f18c77d.tar.gz
rust-1a077420f864868ec0c8b5d401a4dbb60f18c77d.zip
Rollup merge of #103328 - compiler-errors:trivial-false-const-sugg, r=jackh726
Do not suggest trivially false const predicates

Pass through constness to `predicate_can_apply` and don't suggest other impls if it's satisfied but not const.

Fixes #103267
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/errors.rs')
0 files changed, 0 insertions, 0 deletions