{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/53675","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/53675/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/53675/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/53675/events","html_url":"https://github.com/rust-lang/rust/issues/53675","id":353863523,"node_id":"MDU6SXNzdWUzNTM4NjM1MjM=","number":53675,"title":"Macro resolution regression when a #[test] is named 'panic'","user":{"login":"SimonSapin","id":291359,"node_id":"MDQ6VXNlcjI5MTM1OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/291359?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"labels":[{"id":132910982,"node_id":"MDU6TGFiZWwxMzI5MTA5ODI=","url":"https://api.github.com/repos/rust-lang/rust/labels/A-macros","name":"A-macros","color":"d7e102","default":false},{"id":147085028,"node_id":"MDU6TGFiZWwxNDcwODUwMjg=","url":"https://api.github.com/repos/rust-lang/rust/labels/regression-from-stable-to-nightly","name":"regression-from-stable-to-nightly","color":"e4008a","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T17:17:57Z","updated_at":"2018-08-24T17:17:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Test case:\r\n\r\n```rust\r\n#[test]\r\nfn panic() {\r\n    assert!(true)\r\n}\r\n```\r\n\r\n```rust\r\n$ rustc +nightly -V\r\nrustc 1.30.0-nightly (63d66494a 2018-08-23)\r\n$ cargo +nightly test\r\nerror: cannot determine resolution for the macro `panic`\r\n --> src/lib.rs:3:5\r\n  |\r\n3 |     assert!(true)\r\n  |     ^^^^^^^^^^^^^\r\n  |\r\n  = note: import resolution is stuck, try simplifying macro imports\r\n\r\nerror: aborting due to previous error\r\n\r\nerror: Could not compile `foo`.\r\n```\r\n\r\nCC @petrochenkov "}}
{"actor":{"display_login":"SimonSapin"}}