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 }}
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
16.3k
Star
119k
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
Allow trait methods to be called on concrete types in a const context
- #68847
#68847
Merged
bors
merged 16 commits into
rust-lang:master
rust-lang/rust:master
from
ecstatic-morse:const-impl
ecstatic-morse/rust:const-impl
Copy head branch name to clipboard
Feb 20, 2020
Conversation
Commits
16
(16)
Checks
Files changed
Merged
Allow trait methods to be called on concrete types in a const context
#68847
bors
merged 16 commits into
rust-lang:master
rust-lang/rust:master
from
ecstatic-morse:const-impl
ecstatic-morse/rust:const-impl
Copy head branch name to clipboard
Commits
Commits on Feb 19, 2020
Add `is_const_impl_raw` query
ecstatic-morse
committed
62ff11f
View commit details
Copy full SHA for 62ff11f
Browse repository at this point
Const-check functions in a `const` impl
ecstatic-morse
committed
3e0b060
View commit details
Copy full SHA for 3e0b060
Browse repository at this point
Remove "not yet implemented" warning
ecstatic-morse
committed
5e422ef
View commit details
Copy full SHA for 5e422ef
Browse repository at this point
Check for trait methods on concrete types in const checking
ecstatic-morse
committed
7a019b1
View commit details
Copy full SHA for 7a019b1
Browse repository at this point
Add tests for calling trait methods on concrete types
ecstatic-morse
committed
323ff19
View commit details
Copy full SHA for 323ff19
Browse repository at this point
Split const trait method test and impl `ops::Add`
ecstatic-morse
committed
d6d6d25
View commit details
Copy full SHA for d6d6d25
Browse repository at this point
Ensure const impl cannot coexist with non-const impl
ecstatic-morse
committed
70f7879
View commit details
Copy full SHA for 70f7879
Browse repository at this point
Use early return when forbidding unstable attrs
ecstatic-morse
committed
0a5abca
View commit details
Copy full SHA for 0a5abca
Browse repository at this point
Propagate `rustc_const_unstable` to children
ecstatic-morse
committed
8e7609b
View commit details
Copy full SHA for 8e7609b
Browse repository at this point
Test `rustc_const_unstable` on trait fns
ecstatic-morse
committed
4992eb2
View commit details
Copy full SHA for 4992eb2
Browse repository at this point
Add ignored test for associated types in const impl
ecstatic-morse
committed
c8f0abb
View commit details
Copy full SHA for c8f0abb
Browse repository at this point
Remove outdated FIXME
ecstatic-morse
committed
9a36824
View commit details
Copy full SHA for 9a36824
Browse repository at this point
Add passing test for `Add` on generic struct
ecstatic-morse
committed
160e630
View commit details
Copy full SHA for 160e630
Browse repository at this point
Make `fn_queries` helpers module-private
ecstatic-morse
committed
cb81712
View commit details
Copy full SHA for cb81712
Browse repository at this point
Prevent const trait methods from being marked stable
ecstatic-morse
committed
5f06ce2
View commit details
Copy full SHA for 5f06ce2
Browse repository at this point
Update tests
ecstatic-morse
committed
19801b1
View commit details
Copy full SHA for 19801b1
Browse repository at this point
You can’t perform that action at this time.