<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/repeat_count.rs, branch 1.56.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.56.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.56.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-09-02T19:26:37+00:00</updated>
<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>refactor check_for_cast</title>
<updated>2020-05-20T14:08:09+00:00</updated>
<author>
<name>Bastian Kauschke</name>
<email>bastian_kauschke@hotmail.de</email>
</author>
<published>2020-05-20T13:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ecb593379c3ab075940a3fbf2e980ec5260b6ca4'/>
<id>urn:sha1:ecb593379c3ab075940a3fbf2e980ec5260b6ca4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Surround types with backticks in type errors</title>
<updated>2019-11-18T19:03:04+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-11-15T17:37:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f8f70624b99460481af25764b9e02d2c67b42c5'/>
<id>urn:sha1:6f8f70624b99460481af25764b9e02d2c67b42c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove E0308 note when primary label has all info</title>
<updated>2019-11-18T19:03:03+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-11-15T07:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94c642546497dd4c04609bd6dbe7631fb56df1fa'/>
<id>urn:sha1:94c642546497dd4c04609bd6dbe7631fb56df1fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>review comments: tweak prefix strings</title>
<updated>2019-11-18T19:02:44+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-11-14T22:08:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b2e6aef0731990c98a6fb7ac6f890aa359a5e9e6'/>
<id>urn:sha1:b2e6aef0731990c98a6fb7ac6f890aa359a5e9e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Specific labels when referring to "expected" and "found" types</title>
<updated>2019-11-18T19:02:22+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-11-13T22:16:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=83ffda5216a9a4248221b980ee08c30ac6e517f8'/>
<id>urn:sha1:83ffda5216a9a4248221b980ee08c30ac6e517f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve type mismatch error messages</title>
<updated>2019-01-01T01:43:08+00:00</updated>
<author>
<name>Yuning Zhang</name>
<email>codeworm96@outlook.com</email>
</author>
<published>2019-01-01T01:43:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=710dcbd3818deca8f193a45e321b58af3c24feae'/>
<id>urn:sha1:710dcbd3818deca8f193a45e321b58af3c24feae</id>
<content type='text'>
Replace "integral variable" with "integer" and replace
"floating-point variable" with "floating-point number" to make the
message less confusing.
</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>
