-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce ~const
#88328
Merged
Merged
Introduce ~const
#88328
Commits on Aug 27, 2021
-
- [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 rust-lang#88155 - [ ] Do something with constness bounds in chalk
Configuration menu - View commit details
-
Copy full SHA for 8660832 - Browse repository at this point
Copy the full SHA 8660832View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1164c94 - Browse repository at this point
Copy the full SHA 1164c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff24ac4 - Browse repository at this point
Copy the full SHA ff24ac4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 703c557 - Browse repository at this point
Copy the full SHA 703c557View commit details -
Configuration menu - View commit details
-
Copy full SHA for c75aeaa - Browse repository at this point
Copy the full SHA c75aeaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80e1ee5 - Browse repository at this point
Copy the full SHA 80e1ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 580ca93 - Browse repository at this point
Copy the full SHA 580ca93View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3d96e9 - Browse repository at this point
Copy the full SHA f3d96e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a3a608 - Browse repository at this point
Copy the full SHA 0a3a608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d7dbf2 - Browse repository at this point
Copy the full SHA 2d7dbf2View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.