diff options
| author | bors <bors@rust-lang.org> | 2021-08-27 21:35:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-27 21:35:08 +0000 |
| commit | ac50a53359328a5d7f2f558833e63d59d372e4f7 (patch) | |
| tree | 11955536eff1fbbb21e8774cd5b6a795166eabf3 /compiler/rustc_save_analysis/src | |
| parent | dfd84729d6b7060edcb66694e6e44aae9e2ac57d (diff) | |
| parent | 2d7dbf2e05284aba0a99c40db007c512631872ca (diff) | |
| download | rust-ac50a53359328a5d7f2f558833e63d59d372e4f7.tar.gz rust-ac50a53359328a5d7f2f558833e63d59d372e4f7.zip | |
Auto merge of #88328 - fee1-dead:not-quite-const, r=oli-obk
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.
- [x] Update UI Tests
- [x] Add enum `BoundConstness` (With variants `NotConst` and
`ConstIfConst` allowing future extensions)
- [x] Adjust trait selection and pre-existing code to use `BoundConstness`.
- [ ] Optional steps for this PR
- [x] Fix #88155
- [x] ~~Do something with constness bounds in chalk~~ Must be done to rust-lang/chalk (just tried to refactor, there are a lot of errors to resolve :( )
- [ ] Adjust Error messages for `~const` bounds that can't be satisfied.
r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_save_analysis/src')
0 files changed, 0 insertions, 0 deletions
