{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/44662","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/44662/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/44662/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/44662/events","html_url":"https://github.com/rust-lang/rust/issues/44662","id":258333511,"node_id":"MDU6SXNzdWUyNTgzMzM1MTE=","number":44662,"title":"Tracking issue for RFC 2113: `dyn Trait` Syntax for Trait Objects: Take 2 ","user":{"login":"aturon","id":709807,"node_id":"MDQ6VXNlcjcwOTgwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/709807?v=4","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"labels":[{"id":89436934,"node_id":"MDU6TGFiZWw4OTQzNjkzNA==","url":"https://api.github.com/repos/rust-lang/rust/labels/B-RFC-approved","name":"B-RFC-approved","color":"d304cb","default":false},{"id":650846969,"node_id":"MDU6TGFiZWw2NTA4NDY5Njk=","url":"https://api.github.com/repos/rust-lang/rust/labels/C-tracking-issue","name":"C-tracking-issue","color":"f5f1fd","default":false},{"id":211668019,"node_id":"MDU6TGFiZWwyMTE2NjgwMTk=","url":"https://api.github.com/repos/rust-lang/rust/labels/T-lang","name":"T-lang","color":"bfd4f2","default":false},{"id":693665390,"node_id":"MDU6TGFiZWw2OTM2NjUzOTA=","url":"https://api.github.com/repos/rust-lang/rust/labels/WG-compiler-front","name":"WG-compiler-front","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2017-09-17T20:55:26Z","updated_at":"2018-06-22T18:28:11Z","closed_at":null,"author_association":"MEMBER","body":"This is a tracking issue for the RFC \"`dyn Trait` Syntax for Trait Objects: Take 2 \" (rust-lang/rfcs#2113).\r\n\r\n**Implementation plan:**\r\n\r\n- [x] In Rust 2015, accept `dyn Foo` but we parse `dyn ::Foo` as `dyn::Foo`\r\n- [ ] We lint against uses of `dyn` as an identifier\r\n  - This is a \"breakage\" lint, so it warns by default in Rust 2015 (and is inapplicable in Rust 2018)\r\n- [ ] In Rust 2018, we parse `dyn` **only** as a `dyn Trait`, and hence `dyn ::Foo`\r\n- [x] We have a rustfix-compatible lint that suggests rewriting `Trait` to `dyn Trait`; if the path `Trait` is absolute (`::Trait`), then we suggest `dyn (::Trait)`\r\n    - This is an \"idiom shift\" lint, in @Manishearth's terminology from https://github.com/rust-lang/rust/issues/48796\r\n    - Therefore, it is opt-in in Rust 2015, but on by default in Rust 2018\r\n- [ ] Use `dyn Trait` in error messages (https://github.com/rust-lang/rust/issues/49277)\r\n\r\n**Steps to stabilize:**\r\n\r\n- [ ] Adjust documentation ([see instructions on forge][doc-guide])\r\n- [ ] Stabilization PR ([see instructions on forge][stabilization-guide])\r\n\r\n[stabilization-guide]: https://forge.rust-lang.org/stabilization-guide.html\r\n[doc-guide]: https://forge.rust-lang.org/stabilization-guide.html#updating-documentation"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/399536968","html_url":"https://github.com/rust-lang/rust/issues/44662#issuecomment-399536968","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/44662","id":399536968,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTUzNjk2OA==","user":{"login":"cramertj","id":5963049,"node_id":"MDQ6VXNlcjU5NjMwNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/5963049?v=4","gravatar_id":"","url":"https://api.github.com/users/cramertj","html_url":"https://github.com/cramertj","followers_url":"https://api.github.com/users/cramertj/followers","following_url":"https://api.github.com/users/cramertj/following{/other_user}","gists_url":"https://api.github.com/users/cramertj/gists{/gist_id}","starred_url":"https://api.github.com/users/cramertj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cramertj/subscriptions","organizations_url":"https://api.github.com/users/cramertj/orgs","repos_url":"https://api.github.com/users/cramertj/repos","events_url":"https://api.github.com/users/cramertj/events{/privacy}","received_events_url":"https://api.github.com/users/cramertj/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T18:28:11Z","updated_at":"2018-06-22T18:28:11Z","author_association":"MEMBER","body":"The box for the lint at the top of this thread is checked, but [I can't seem to get the `dyn Trait` lint to fire on playground](http://play.rust-lang.org/?gist=8fb3a4868d4de37afb968451d6f503ee&version=nightly&mode=debug). What am I doing wrong?"}}
{"actor":{"display_login":"cramertj"}}