rust/compiler/rustc_trait_selection/src
bors e655fb6221 Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasper
Implement (but don't use) valtree and refactor in preparation of use

This PR does not cause any functional change. It refactors various things that are needed to make valtrees possible. This refactoring got big enough that I decided I'd want it reviewed as a PR instead of trying to make one huge PR with all the changes.

cc `@rust-lang/wg-const-eval` on the following commits:

* 2027184 implement valtree
* eeecea9 fallible Scalar -> ScalarInt
* 042f663 ScalarInt convenience methods

cc `@eddyb` on ef04a6d

cc `@rust-lang/wg-mir-opt` for cf1700c (`mir::Constant` can now represent either a `ConstValue` or a `ty::Const`, and it is totally possible to have two different representations for the same value)
2021-03-16 22:42:56 +00:00
..
traits s/ConstantSource/ConstantKind/ 2021-03-15 12:06:52 +00:00
autoderef.rs Remove ProjectionTy::from_ref_and_name 2021-02-13 19:29:55 +00:00
infer.rs Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
lib.rs Change x64 size checks to not apply to x32. 2021-03-06 16:02:48 +00:00
opaque_types.rs Special case type aliases from impl trait in const/static types 2021-03-15 17:33:28 +00:00