<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/allocator/not-an-allocator.stderr, branch 1.63.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.63.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.63.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-04-04T21:01:42+00:00</updated>
<entry>
<title>Mention implementers of unsatisfied trait</title>
<updated>2022-04-04T21:01:42+00:00</updated>
<author>
<name>Esteban Kuber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2021-12-13T20:56:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3aac307ca62f6d6c5b3612d3dfe80b6eeae8ba15'/>
<id>urn:sha1:3aac307ca62f6d6c5b3612d3dfe80b6eeae8ba15</id>
<content type='text'>
When encountering an unsatisfied trait bound, if there are no other
suggestions, mention all the types that *do* implement that trait:

```
error[E0277]: the trait bound `f32: Foo` is not satisfied
  --&gt; $DIR/impl_wf.rs:22:6
   |
LL | impl Baz&lt;f32&gt; for f32 { }
   |      ^^^^^^^^ the trait `Foo` is not implemented for `f32`
   |
   = help: the following other types implement trait `Foo`:
             Option&lt;T&gt;
             i32
             str
note: required by a bound in `Baz`
  --&gt; $DIR/impl_wf.rs:18:31
   |
LL | trait Baz&lt;U: ?Sized&gt; where U: Foo { }
   |                               ^^^ required by this bound in `Baz`
```

Mention implementers of traits in `ImplObligation`s.

Do not mention other `impl`s for closures, ranges and `?`.
</content>
</entry>
<entry>
<title>Point at type when a `static` `#[global_allocator]` doesn't `impl` `GlobalAlloc`</title>
<updated>2021-12-15T01:40:08+00:00</updated>
<author>
<name>Esteban Kuber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2021-12-15T01:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84408ca9a3e7d1a49e2260902e75568f9e1d5d1a'/>
<id>urn:sha1:84408ca9a3e7d1a49e2260902e75568f9e1d5d1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not mention associated items when they introduce an obligation</title>
<updated>2021-11-20T19:19:31+00:00</updated>
<author>
<name>Esteban Kuber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2021-10-12T14:18:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=563db4245b5373794be8e06ea878f81661888fa0'/>
<id>urn:sha1:563db4245b5373794be8e06ea878f81661888fa0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various diagnostics clean ups/tweaks</title>
<updated>2021-07-19T15:43:35+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2021-07-17T18:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba052bd8de1459acb6809215b0bedf4ea476ef9a'/>
<id>urn:sha1:ba052bd8de1459acb6809215b0bedf4ea476ef9a</id>
<content type='text'>
* Always point at macros, including derive macros
* Point at non-local items that introduce a trait requirement
* On private associated item, point at definition
</content>
</entry>
<entry>
<title>Show macro name in 'this error originates in macro' message</title>
<updated>2021-05-12T23:03:06+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2021-02-13T19:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0dd9f118d973bb077c6ff0e2a57421ca2eecb81c'/>
<id>urn:sha1:0dd9f118d973bb077c6ff0e2a57421ca2eecb81c</id>
<content type='text'>
When there are multiple macros in use, it can be difficult to tell
which one was responsible for producing an error.
</content>
</entry>
<entry>
<title>pretty: trim paths of unique symbols</title>
<updated>2020-09-02T19:26:37+00:00</updated>
<author>
<name>Dan Aloni</name>
<email>alonid@gmail.com</email>
</author>
<published>2020-09-02T07:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07e7823c01be1733df2480de19fbbe6b8e9384cf'/>
<id>urn:sha1:07e7823c01be1733df2480de19fbbe6b8e9384cf</id>
<content type='text'>
If a symbol name can only be imported from one place for a type, and
as long as it was not glob-imported anywhere in the current crate, we
can trim its printed path and print only the name.

This has wide implications on error messages with types, for example,
shortening `std::vec::Vec` to just `Vec`, as long as there is no other
`Vec` importable anywhere.

This adds a new '-Z trim-diagnostic-paths=false' option to control this
feature.

On the good path, with no diagnosis printed, we should try to avoid
issuing this query, so we need to prevent trimmed_def_paths query on
several cases.

This change also relies on a previous commit that differentiates
between `Debug` and `Display` on various rustc types, where the latter
is trimmed and presented to the user and the former is not.
</content>
</entry>
<entry>
<title>rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.</title>
<updated>2020-02-06T19:46:38+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2019-12-16T13:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b'/>
<id>urn:sha1:4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged migrated compile-fail tests and ui tests. Fixes #46841.</title>
<updated>2018-08-14T09:12:09+00:00</updated>
<author>
<name>David Wood</name>
<email>david@davidtw.co</email>
</author>
<published>2018-08-08T12:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3fc7ab237314a4ce85e612b4ce590c27f1425291'/>
<id>urn:sha1:3fc7ab237314a4ce85e612b4ce590c27f1425291</id>
<content type='text'>
</content>
</entry>
</feed>
