rust/compiler/rustc_const_eval/src
Matthias Krüger 6726f1e013
Rollup merge of #92432 - fee1-dead:constck-impl-constness, r=oli-obk
Error when selected impl is not const in constck

Catches bad things when checking a `default_method_body_is_const` body, such as:

```rust
self.map(/* .. */).is_sorted();
```

When `Map` does not yet have a `const` `impl` for `Iterator`.

r? ```@oli-obk```
2022-01-12 07:12:06 +01:00
..
const_eval rename StackPopClean::None to Root 2022-01-04 11:13:08 +01:00
interpret Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
transform Rollup merge of #92432 - fee1-dead:constck-impl-constness, r=oli-obk 2022-01-12 07:12:06 +01:00
util Store a DefId instead of an AdtDef in AggregateKind::Adt 2021-12-22 14:36:34 -05:00
lib.rs Stabilize iter::zip. 2021-12-14 18:50:31 -04:00