<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src/lib.rs, branch 1.67.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.67.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.67.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-12-04T15:25:32+00:00</updated>
<entry>
<title>Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors</title>
<updated>2022-12-04T15:25:32+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-12-04T15:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7dbd1603b873527cbce2ac3f289f271b138cfc68'/>
<id>urn:sha1:7dbd1603b873527cbce2ac3f289f271b138cfc68</id>
<content type='text'>
Suggest to use . instead of :: when accessing a method of an object

Fixes #101749
Fixes #101542
</content>
</entry>
<entry>
<title>fix #101749, use . instead of :: when accessing a method of an object</title>
<updated>2022-12-03T14:41:12+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2022-09-18T07:35:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb004e9a95793b7672d55b2984d65d4ac00a3cfc'/>
<id>urn:sha1:fb004e9a95793b7672d55b2984d65d4ac00a3cfc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove useless borrows and derefs</title>
<updated>2022-12-01T17:34:43+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-11-29T11:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f2b97a8bfe23cdda293908e3c3e01f2613787168'/>
<id>urn:sha1:f2b97a8bfe23cdda293908e3c3e01f2613787168</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make `error_reported` check for delayed bugs</title>
<updated>2022-11-24T11:12:46+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2022-11-24T11:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72d8879c29570ee18cc3ab2c3e96bfd97221d0bb'/>
<id>urn:sha1:72d8879c29570ee18cc3ab2c3e96bfd97221d0bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #104504 - compiler-errors:fru-syntax-note, r=estebank</title>
<updated>2022-11-20T22:50:27+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-11-20T22:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fce077b05362bee14d01335e52bd6b6b9cf88682'/>
<id>urn:sha1:fce077b05362bee14d01335e52bd6b6b9cf88682</id>
<content type='text'>
Add a detailed note for missing comma typo w/ FRU syntax

Thanks to `@pierwill` for working on this with me!

Fixes #104373, perhaps `@alice-i-cecile` can comment on the new error for the example provided on that issue -- feedback is welcome.

```
error[E0063]: missing field `defaulted` in initializer of `Outer`
  --&gt; $DIR/multi-line-fru-suggestion.rs:14:5
   |
LL |     Outer {
   |     ^^^^^ missing `defaulted`
   |
note: this expression may have been misinterpreted as a `..` range expression
  --&gt; $DIR/multi-line-fru-suggestion.rs:16:16
   |
LL |           inner: Inner {
   |  ________________^
LL | |             a: 1,
LL | |             b: 2,
LL | |         }
   | |_________^ this expression does not end in a comma...
LL |           ..Default::default()
   |           ^^^^^^^^^^^^^^^^^^^^ ... so this is interpreted as a `..` range expression, instead of functional record update syntax
help: to set the remaining fields from `Default::default()`, separate the last named field with a comma
   |
LL |         },
   |          +

error: aborting due to previous error

For more information about this error, try `rustc --explain E0063`.
```
</content>
</entry>
<entry>
<title>Rollup merge of #103117 - joshtriplett:use-is-terminal, r=eholk</title>
<updated>2022-11-19T14:35:18+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-11-19T14:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52cc0d5360622fe505b4f25973e06b1c9600f07c'/>
<id>urn:sha1:52cc0d5360622fe505b4f25973e06b1c9600f07c</id>
<content type='text'>
Use `IsTerminal` in place of `atty`

In any crate that can use nightly features, use `IsTerminal` rather than
`atty`:

- Use `IsTerminal` in `rustc_errors`
- Use `IsTerminal` in `rustc_driver`
- Use `IsTerminal` in `rustc_log`
- Use `IsTerminal` in `librustdoc`
</content>
</entry>
<entry>
<title>Add a detailed note for missing comma in FRU syntax typo</title>
<updated>2022-11-18T17:27:55+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-11-16T19:10:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bb0cb9ae9fb2dbebc62627a3f1f4326771338535'/>
<id>urn:sha1:bb0cb9ae9fb2dbebc62627a3f1f4326771338535</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Edit docs for `rustc_errors::Handler::stash_diagnostic`</title>
<updated>2022-11-17T21:45:46+00:00</updated>
<author>
<name>pierwill</name>
<email>pierwill@users.noreply.github.com</email>
</author>
<published>2022-11-16T18:21:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=19b63bc791dee7329922f809f5468483b0d72bc6'/>
<id>urn:sha1:19b63bc791dee7329922f809f5468483b0d72bc6</id>
<content type='text'>
Clarify that the diagnostic can be retrieved with `steal_diagnostic`.
</content>
</entry>
<entry>
<title>Don't print full paths in overlap errors</title>
<updated>2022-11-10T05:41:09+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-11-10T04:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f902b495ba8379b31bf06089ec025b805b587bd7'/>
<id>urn:sha1:f902b495ba8379b31bf06089ec025b805b587bd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #103397 - crlf0710:port_dead_code_lint, r=davidtwco</title>
<updated>2022-11-04T17:52:26+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-11-04T17:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=612bb7890cbac06e9f6b65ac15aeeb174d4ccb23'/>
<id>urn:sha1:612bb7890cbac06e9f6b65ac15aeeb174d4ccb23</id>
<content type='text'>
Port `dead_code` lints to be translatable.

This adds an additional comma to lists with three or more items, to be consistent with list formatters like `icu4x`.

r? `@davidtwco`
</content>
</entry>
</feed>
