<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustc_errors/snippet.rs, branch 1.26.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.26.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.26.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-02-02T03:48:49+00:00</updated>
<entry>
<title>Remove dead code</title>
<updated>2018-02-02T03:48:49+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2018-01-29T05:44:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7850139517d209ec9f2879e12cd7bb69cc78a9c'/>
<id>urn:sha1:c7850139517d209ec9f2879e12cd7bb69cc78a9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add line numbers and columns to error messages spanning multiple files</title>
<updated>2018-01-26T15:33:05+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2018-01-26T15:33:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0ac465924e6ae4380b25c38cbc14f425796fa2af'/>
<id>urn:sha1:0ac465924e6ae4380b25c38cbc14f425796fa2af</id>
<content type='text'>
If an error message is emitted that spans several files, only the
primary file currently has line and column data attached. This is
useful information, even in files other than the one in which the error
occurs. We can often work out which line and column the error
corresponds to in other files — in this case it is helpful to add them
(in the case of ambiguity, the first relevant line/column is picked,
which is still helpful than none).
</content>
</entry>
<entry>
<title>Rollup merge of #46052 - oli-obk:rendered_diagnostics_in_json, r=petrochenkov</title>
<updated>2017-11-21T17:12:59+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2017-11-21T17:12:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0af67a4df0219d518ecba6711ff8ff6680a9a2ec'/>
<id>urn:sha1:0af67a4df0219d518ecba6711ff8ff6680a9a2ec</id>
<content type='text'>
Include rendered diagnostic in json

r? @petrochenkov
</content>
</entry>
<entry>
<title>The end of a span can be *before* the first char in a line</title>
<updated>2017-11-20T08:37:54+00:00</updated>
<author>
<name>Oliver Schneider</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2017-11-17T12:13:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ddaf523aa437c8f6386a5f40e527b6d21ecb1a36'/>
<id>urn:sha1:ddaf523aa437c8f6386a5f40e527b6d21ecb1a36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>show macro backtrace with env var</title>
<updated>2017-11-19T22:22:22+00:00</updated>
<author>
<name>Alex Burka</name>
<email>alex@alexburka.com</email>
</author>
<published>2017-10-26T04:39:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c73bcf043e94b32e2d53ecfd3e53a0535b320456'/>
<id>urn:sha1:c73bcf043e94b32e2d53ecfd3e53a0535b320456</id>
<content type='text'>
</content>
</entry>
<entry>
<title>librustc_errors: Don't emit the same error message twice.</title>
<updated>2017-10-25T13:01:06+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2017-10-25T13:01:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fccd71f7552a26d6c002d4712a6d16ff49da31f'/>
<id>urn:sha1:6fccd71f7552a26d6c002d4712a6d16ff49da31f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typos &amp; us spellings</title>
<updated>2017-08-15T19:56:30+00:00</updated>
<author>
<name>Fourchaux</name>
<email>jprodi04@gmail.com</email>
</author>
<published>2017-08-15T19:45:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7104be1a37daa2f7ec114913247dc93524fd48e'/>
<id>urn:sha1:c7104be1a37daa2f7ec114913247dc93524fd48e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused code from librustc_errors</title>
<updated>2017-07-07T01:49:32+00:00</updated>
<author>
<name>Kevin Mehall</name>
<email>km@kevinmehall.net</email>
</author>
<published>2017-07-02T20:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=17bd76a5169df158a750fdf63cf35b3fbd33c28e'/>
<id>urn:sha1:17bd76a5169df158a750fdf63cf35b3fbd33c28e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce visual clutter of multiline start when possible</title>
<updated>2017-04-21T00:31:20+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2017-04-14T23:38:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc07c357e421eebff58eb6948c8e1412ae7d8069'/>
<id>urn:sha1:cc07c357e421eebff58eb6948c8e1412ae7d8069</id>
<content type='text'>
When a span starts on a line with nothing but whitespace to the left,
and there are no other annotations in that line, simplify the visual
representation of the span.

Go from:

```rust
error[E0072]: recursive type `A` has infinite size
 --&gt; file2.rs:1:1
  |
1 |   struct A {
  |  _^ starting here...
2 | |     a: A,
3 | | }
  | |_^ ...ending here: recursive type has infinite size
  |
```

To:

```rust
error[E0072]: recursive type `A` has infinite size
 --&gt; file2.rs:1:1
  |
1 | / struct A {
2 | |     a: A,
3 | | }
  | |_^ recursive type has infinite size
```

Remove `starting here...`/`...ending here` labels from all multiline
diagnostics.
</content>
</entry>
<entry>
<title>Always show end line of multiline annotations</title>
<updated>2017-04-09T20:48:25+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2017-04-06T19:18:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4bc7f5b52c41ffd45aaf8f27e7ec667f549011c6'/>
<id>urn:sha1:4bc7f5b52c41ffd45aaf8f27e7ec667f549011c6</id>
<content type='text'>
```rust
error[E0046]: not all trait items implemented, missing: `Item`
  --&gt; $DIR/issue-23729.rs:20:9
   |
20 |           impl Iterator for Recurrence {
   |  _________^ starting here...
21 | |             //~^ ERROR E0046
22 | |             //~| NOTE missing `Item` in implementation
23 | |             //~| NOTE `Item` from trait: `type Item;`
...  |
36 | |             }
37 | |         }
   | |_________^ ...ending here: missing `Item` in implementation
   |
   = note: `Item` from trait: `type Item;`
```

instead of

```rust
error[E0046]: not all trait items implemented, missing: `Item`
  --&gt; $DIR/issue-23729.rs:20:9
   |
20 |         impl Iterator for Recurrence {
   |         ^ missing `Item` in implementation
   |
   = note: `Item` from trait: `type Item;`
```
</content>
</entry>
</feed>
