{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/45776","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/45776/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/45776/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/45776/events","html_url":"https://github.com/rust-lang/rust/pull/45776","id":271240619,"number":45776,"title":"Highlight code on diagnostics when underlined","user":{"login":"estebank","id":1606434,"avatar_url":"https://avatars2.githubusercontent.com/u/1606434?v=4","gravatar_id":"","url":"https://api.github.com/users/estebank","html_url":"https://github.com/estebank","followers_url":"https://api.github.com/users/estebank/followers","following_url":"https://api.github.com/users/estebank/following{/other_user}","gists_url":"https://api.github.com/users/estebank/gists{/gist_id}","starred_url":"https://api.github.com/users/estebank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estebank/subscriptions","organizations_url":"https://api.github.com/users/estebank/orgs","repos_url":"https://api.github.com/users/estebank/repos","events_url":"https://api.github.com/users/estebank/events{/privacy}","received_events_url":"https://api.github.com/users/estebank/received_events","type":"User","site_admin":false},"labels":[{"id":583426710,"url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review","name":"S-waiting-on-review","color":"d3dddd","default":false},{"id":211668100,"url":"https://api.github.com/repos/rust-lang/rust/labels/T-compiler","name":"T-compiler","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars0.githubusercontent.com/u/155238?v=4","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"assignees":[{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars0.githubusercontent.com/u/155238?v=4","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2017-11-05T01:34:01Z","updated_at":"2017-11-29T11:03:37Z","closed_at":"2017-11-29T11:03:37Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/45776","html_url":"https://github.com/rust-lang/rust/pull/45776","diff_url":"https://github.com/rust-lang/rust/pull/45776.diff","patch_url":"https://github.com/rust-lang/rust/pull/45776.patch"},"body":"Highlight the label's span by bolding the corresponding code:\r\n\r\n<img width=\"691\" alt=\"\" src=\"https://user-images.githubusercontent.com/1606434/32411126-5536f124-c190-11e7-92ae-1b0a82b9d7ae.png\">\r\n\r\nFix #42112.\r\n\r\nr? @nikomatsakis (alternative to #45752 without coloring, only highlighting)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/347826785","html_url":"https://github.com/rust-lang/rust/pull/45776#issuecomment-347826785","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/45776","id":347826785,"user":{"login":"kennytm","id":103023,"avatar_url":"https://avatars1.githubusercontent.com/u/103023?v=4","gravatar_id":"","url":"https://api.github.com/users/kennytm","html_url":"https://github.com/kennytm","followers_url":"https://api.github.com/users/kennytm/followers","following_url":"https://api.github.com/users/kennytm/following{/other_user}","gists_url":"https://api.github.com/users/kennytm/gists{/gist_id}","starred_url":"https://api.github.com/users/kennytm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennytm/subscriptions","organizations_url":"https://api.github.com/users/kennytm/orgs","repos_url":"https://api.github.com/users/kennytm/repos","events_url":"https://api.github.com/users/kennytm/events{/privacy}","received_events_url":"https://api.github.com/users/kennytm/received_events","type":"User","site_admin":false},"created_at":"2017-11-29T11:03:37Z","updated_at":"2017-11-29T11:03:37Z","author_association":"MEMBER","body":"Triage — I am going to close this PR to keep the queue clear. As #45752 seems to be [more preferred](https://github.com/rust-lang/rust/pull/45776#issuecomment-345436904), and even if it can be made configurable, it needs to be done on top of #45752 which certainly can't just reuse this PR as-is. Therefore I see no reason keeping this PR open.\r\n\r\n@estebank feel free to reopen if you disagree."}}
{"actor":{"display_login":"kennytm"}}