<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/pattern/move-ref-patterns/move-ref-patterns-default-binding-modes.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>2020-09-15T06:23:05+00:00</updated>
<entry>
<title>Stabilize move_ref_pattern</title>
<updated>2020-09-15T06:23:05+00:00</updated>
<author>
<name>Amjad Alsharafi</name>
<email>amjadsharafi10@gmail.com</email>
</author>
<published>2020-08-30T18:59:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=da700cba08a2b194d19e63d3c51ebadce96fe46b'/>
<id>urn:sha1:da700cba08a2b194d19e63d3c51ebadce96fe46b</id>
<content type='text'>
</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>move_ref_patterns: introduce tests</title>
<updated>2020-02-02T13:13:07+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-01-19T01:47:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d984f127f662f7a1fcf0472230a1b64fcc3325d5'/>
<id>urn:sha1:d984f127f662f7a1fcf0472230a1b64fcc3325d5</id>
<content type='text'>
bindings_after_at: harden tests
</content>
</entry>
</feed>
