{"action":"created","issue":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2483","repository_url":"https://api.github.com/repos/intellij-rust/intellij-rust","labels_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2483/labels{/name}","comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2483/comments","events_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2483/events","html_url":"https://github.com/intellij-rust/intellij-rust/issues/2483","id":315986667,"number":2483,"title":"Highlighting behaves differently when src is not in project root","user":{"login":"gegy1000","id":5172118,"avatar_url":"https://avatars3.githubusercontent.com/u/5172118?v=4","gravatar_id":"","url":"https://api.github.com/users/gegy1000","html_url":"https://github.com/gegy1000","followers_url":"https://api.github.com/users/gegy1000/followers","following_url":"https://api.github.com/users/gegy1000/following{/other_user}","gists_url":"https://api.github.com/users/gegy1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gegy1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gegy1000/subscriptions","organizations_url":"https://api.github.com/users/gegy1000/orgs","repos_url":"https://api.github.com/users/gegy1000/repos","events_url":"https://api.github.com/users/gegy1000/events{/privacy}","received_events_url":"https://api.github.com/users/gegy1000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-19T18:18:06Z","updated_at":"2018-04-19T20:31:43Z","closed_at":"2018-04-19T20:31:43Z","author_association":"NONE","body":"In this given project setup,\r\n![Project](https://i.imgur.com/qhjlMwK.png)\r\n\r\nWith two identical `main.rs` files of:\r\n```rust\r\nfn main() {\r\n    let v = None;\r\n}\r\n```\r\n\r\nThe file within `/src` highlights correctly (with run option and None highlight):\r\n![src/main.rs](https://i.imgur.com/jUrFJee.png)\r\n\r\nWhile the file within `/directory/src` does not:\r\n![directory/src/main.rs](https://i.imgur.com/r7UlyjB.png)"},"comment":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/comments/382871322","html_url":"https://github.com/intellij-rust/intellij-rust/issues/2483#issuecomment-382871322","issue_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2483","id":382871322,"user":{"login":"gegy1000","id":5172118,"avatar_url":"https://avatars3.githubusercontent.com/u/5172118?v=4","gravatar_id":"","url":"https://api.github.com/users/gegy1000","html_url":"https://github.com/gegy1000","followers_url":"https://api.github.com/users/gegy1000/followers","following_url":"https://api.github.com/users/gegy1000/following{/other_user}","gists_url":"https://api.github.com/users/gegy1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gegy1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gegy1000/subscriptions","organizations_url":"https://api.github.com/users/gegy1000/orgs","repos_url":"https://api.github.com/users/gegy1000/repos","events_url":"https://api.github.com/users/gegy1000/events{/privacy}","received_events_url":"https://api.github.com/users/gegy1000/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T20:31:43Z","updated_at":"2018-04-19T20:31:43Z","author_association":"NONE","body":"Looks like this is caused by my workspace not being set as a cargo workspace. Whoops!"}}
{"actor":{"display_login":"gegy1000"}}