<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff, branch 1.48.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.48.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.48.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>Suppress "const" prefix of FnDef in MIR dump</title>
<updated>2020-08-21T00:36:49+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-08-20T09:44:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4c017a18487145cd5fdcfda741acc6a2a00bef7'/>
<id>urn:sha1:c4c017a18487145cd5fdcfda741acc6a2a00bef7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Suppress MIR comments of Unit type</title>
<updated>2020-08-20T09:32:35+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-08-20T09:25:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=86cf46172ff10673e4470e93a8b2d4974bf35f3c'/>
<id>urn:sha1:86cf46172ff10673e4470e93a8b2d4974bf35f3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Suppress MIR comments for FnDef in ty::Const</title>
<updated>2020-08-20T09:27:33+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-08-18T15:49:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=633a2e31efb42d0a141bfbd634e67f218e819303'/>
<id>urn:sha1:633a2e31efb42d0a141bfbd634e67f218e819303</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update MIR tests with comment verbosity fix</title>
<updated>2020-08-17T21:29:48+00:00</updated>
<author>
<name>Austin Lasher</name>
<email>austinlasher@gmail.com</email>
</author>
<published>2020-08-15T17:04:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28ac141b72053ae21c9337e761ef339803c958df'/>
<id>urn:sha1:28ac141b72053ae21c9337e761ef339803c958df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move mir-opt tests to toplevel</title>
<updated>2020-07-29T15:36:03+00:00</updated>
<author>
<name>Xavier Denis</name>
<email>xldenis@gmail.com</email>
</author>
<published>2020-07-28T13:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f07607f47ab40837c92035e35602731cc80baa81'/>
<id>urn:sha1:f07607f47ab40837c92035e35602731cc80baa81</id>
<content type='text'>
</content>
</entry>
</feed>
