<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/pattern/pattern-tyvar.stderr, branch 1.56.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.56.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.56.1'/>
<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 and fix this-expression-has-type note</title>
<updated>2019-12-30T13:05:17+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-12-30T08:08:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d7e2f3aee5508538c5de14211ab5b31362e1164a'/>
<id>urn:sha1:d7e2f3aee5508538c5de14211ab5b31362e1164a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MatchExpressionArmPattern: Use more generic wording.</title>
<updated>2019-12-30T12:50:20+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-12-30T06:02:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab050d6a83a9bdc5856a20402b6ea440d474638c'/>
<id>urn:sha1:ab050d6a83a9bdc5856a20402b6ea440d474638c</id>
<content type='text'>
The existing wording was inappropriate for e.g.
`if let Ok(_) = expr { .. }`. The diagnostic would
leak the fact that we desugar to a `match`.
</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>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>Update tests</title>
<updated>2019-03-11T20:10:26+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-03-09T12:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fa72a81bea27f1fda4287475e4cc2f684c971e7f'/>
<id>urn:sha1:fa72a81bea27f1fda4287475e4cc2f684c971e7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reword label as per review comment</title>
<updated>2019-01-13T03:36:28+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-01-06T22:23:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72d965f7b7c2dcf0f6d076982c254093cdf96fe4'/>
<id>urn:sha1:72d965f7b7c2dcf0f6d076982c254093cdf96fe4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Point at the match discriminant when arm pattern has a type mismatch</title>
<updated>2019-01-13T03:36:28+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-01-06T01:08:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a873337f2100ffa341f1a03e316ded6bfa2e95f7'/>
<id>urn:sha1:a873337f2100ffa341f1a03e316ded6bfa2e95f7</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>make non_camel_case_types an early lint</title>
<updated>2018-12-24T17:58:52+00:00</updated>
<author>
<name>Andy Russell</name>
<email>arussell123@gmail.com</email>
</author>
<published>2018-12-17T03:21:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6474de904c1aca3a6eb131edc0e4e869ecabeb90'/>
<id>urn:sha1:6474de904c1aca3a6eb131edc0e4e869ecabeb90</id>
<content type='text'>
</content>
</entry>
</feed>
