Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
15.5k
Star
116k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Cleanup: Eliminate ConstnessAnd
- #90274
#90274
Closed
oli-obk
wants to merge 12 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:const_env
oli-obk/rust:const_env
Copy head branch name to clipboard
Conversation
Commits
12
(12)
Checks
Files changed
Closed
Cleanup: Eliminate ConstnessAnd
#90274
oli-obk
wants to merge 12 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:const_env
oli-obk/rust:const_env
Copy head branch name to clipboard
Commits
Commits on Oct 25, 2021
Prepare for more ParamEnv flags
oli-obk
committed
b966d1c
View commit details
Copy full SHA for b966d1c
Browse repository at this point
Add constness to ParamEnv
Show description for 8e84aa9
oli-obk
committed
8e84aa9
View commit details
Copy full SHA for 8e84aa9
Browse repository at this point
Static items are also const
oli-obk
committed
8c0edca
View commit details
Copy full SHA for 8c0edca
Browse repository at this point
Re-use `constness_for_typeck` instead of rolling it ourselves
oli-obk
committed
ffd46d0
View commit details
Copy full SHA for ffd46d0
Browse repository at this point
Fixup add const to param env
oli-obk
committed
fce93cb
View commit details
Copy full SHA for fce93cb
Browse repository at this point
Use the constness from the param env instead of having a separate dimension for it
Show description for 3193cf7
oli-obk
committed
3193cf7
View commit details
Copy full SHA for 3193cf7
Browse repository at this point
Fixup
oli-obk
committed
104593f
View commit details
Copy full SHA for 104593f
Browse repository at this point
Prefer TraitPredicate over ConstnessAnd<TraitRef>
oli-obk
committed
cde1f6a
View commit details
Copy full SHA for cde1f6a
Browse repository at this point
Replace `ConstnessAnd<TraitRef>` with `TraitPredicate` which conveys the same information
oli-obk
committed
63ce5c1
View commit details
Copy full SHA for 63ce5c1
Browse repository at this point
Avoid storing the ImplPolarity and Constness next to a TraitRef and use TraitPredicate instead
oli-obk
committed
3be7786
View commit details
Copy full SHA for 3be7786
Browse repository at this point
Completely remove ConstnessAnd
oli-obk
committed
afbac75
View commit details
Copy full SHA for afbac75
Browse repository at this point
Always use const param envs for const eval.
Show description for 764aac2
oli-obk
committed
764aac2
View commit details
Copy full SHA for 764aac2
Browse repository at this point
You can’t perform that action at this time.