diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2021-08-25 11:53:16 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2021-08-27 05:07:37 +0000 |
| commit | 8660832086db649e5a7e489ab40f303fa3f6638e (patch) | |
| tree | 201438bbce2de0c0d18e4d097b110c2fb2a67c9e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | d5cd3205fd6c0817fd46c036d0f3194b7deaca93 (diff) | |
| download | rust-8660832086db649e5a7e489ab40f303fa3f6638e.tar.gz rust-8660832086db649e5a7e489ab40f303fa3f6638e.zip | |
Introduce `~const`
- [x] Removed `?const` and change uses of `?const`
- [x] Added `~const` to the AST. It is gated behind const_trait_impl.
- [x] Validate `~const` in ast_validation.
- [ ] Add enum `BoundConstness` to the HIR. (With variants `NotConst` and
`ConstIfConst` allowing future extensions)
- [ ] Adjust trait selection and pre-existing code to use `BoundConstness`.
- [ ] Optional steps (*for this PR, obviously*)
- [ ] Fix #88155
- [ ] Do something with constness bounds in chalk
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
