-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Implement dyn Trait
syntax (RFC 2113)
#45175
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me modulo new test
|
||
fn main() { | ||
let x: &(dyn 'static + Display) = &BYTE; | ||
let y: Box<dyn Display + 'static> = Box::new(BYTE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get a test like dyn Vec<T>
-- i.e., something not a trait?
@bors r=nikomatsakis |
📌 Commit f769977 has been approved by |
@bors r- |
@bors r=nikomatsakis |
📌 Commit f1c6247 has been approved by |
@bors r=nikomatsakis |
📌 Commit 9d37320 has been approved by |
Implement `dyn Trait` syntax (RFC 2113) cc #44662 r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
cc #44662
r? @nikomatsakis