<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_resolve/src/lib.rs, branch 1.50.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.50.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.50.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-12-12T22:04:59+00:00</updated>
<entry>
<title>Resolve enum field visibility correctly</title>
<updated>2020-12-12T22:04:59+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2020-12-12T03:52:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5ce3f4c16636b261a8ce9ddfbbb30896338b9e37'/>
<id>urn:sha1:5ce3f4c16636b261a8ce9ddfbbb30896338b9e37</id>
<content type='text'>
Previously, this code treated enum fields' visibility as if they were
struct fields. However, that's not correct because the visibility of a
struct field with `ast::VisibilityKind::Inherited` is private to the
module it's defined in, whereas the visibility of an *enum* field with
`ast::VisibilityKind::Inherited` is the visibility of the enum it
belongs to.
</content>
</entry>
<entry>
<title>const_generics: assert resolve hack causes an error</title>
<updated>2020-11-20T22:29:54+00:00</updated>
<author>
<name>Bastian Kauschke</name>
<email>bastian_kauschke@hotmail.de</email>
</author>
<published>2020-11-20T16:03:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34ea5d02ddaacfedd2d60460bf080b988b941d94'/>
<id>urn:sha1:34ea5d02ddaacfedd2d60460bf080b988b941d94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_resolve: Make `macro_rules` scope chain compression lazy</title>
<updated>2020-11-13T21:35:56+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-11-13T21:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac4c1f58b9fe1b4182b8af598751afd88caa5db5'/>
<id>urn:sha1:ac4c1f58b9fe1b4182b8af598751afd88caa5db5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #78826 - petrochenkov:mrscopes2, r=eddyb</title>
<updated>2020-11-13T05:40:37+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-11-13T05:40:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a38f8fb674e6a0a6fc358655c6ce6069235f621a'/>
<id>urn:sha1:a38f8fb674e6a0a6fc358655c6ce6069235f621a</id>
<content type='text'>
resolve: Collapse `macro_rules` scope chains on the fly

Otherwise they grow too long and you have to endlessly walk through them when resolving macros or imports.
Addresses https://rust-lang.zulipchat.com/#narrow/stream/247081-t-compiler.2Fperformance/topic/Slow.20Builtin.20Derives/near/215750815
</content>
</entry>
<entry>
<title>rustc_resolve: Use `#![feature(format_args_capture)]`</title>
<updated>2020-11-07T22:38:11+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-11-07T22:38:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=907b87fafa249943db8af820d763d0255487264a'/>
<id>urn:sha1:907b87fafa249943db8af820d763d0255487264a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>resolve: Collapse `macro_rules` scope chains on the fly</title>
<updated>2020-11-06T23:18:29+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-11-06T13:11:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=922107919dfcd455f8957aef16a1b3e30db8fc44'/>
<id>urn:sha1:922107919dfcd455f8957aef16a1b3e30db8fc44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix even more clippy warnings</title>
<updated>2020-10-30T14:13:39+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2020-10-27T01:02:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=57c6ed0c07aaea9c89a192e54b3274464ebe6fbf'/>
<id>urn:sha1:57c6ed0c07aaea9c89a192e54b3274464ebe6fbf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[resolve] Use `unwrap_or_else` instead of `unwrap_or` in a hot path</title>
<updated>2020-10-29T01:53:25+00:00</updated>
<author>
<name>Wesley Wiser</name>
<email>wwiser@gmail.com</email>
</author>
<published>2020-10-28T12:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1c1c591c81a6fba8199355066a4b4ca00df659b2'/>
<id>urn:sha1:1c1c591c81a6fba8199355066a4b4ca00df659b2</id>
<content type='text'>
This improves the performance of the `resolve_crate` function by 30% for
a very large single file crate with auto-generated C bindings.
</content>
</entry>
<entry>
<title>Auto merge of #78134 - bugadani:arena-nodrop, r=lcnr</title>
<updated>2020-10-22T07:05:21+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-10-22T07:05:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6b9fbf212a06944ff23325d2d63215805dc3c6c3'/>
<id>urn:sha1:6b9fbf212a06944ff23325d2d63215805dc3c6c3</id>
<content type='text'>
Use `DroplessArena` where we know the type doesn't need drop

This PR uses a single `DroplessArena` in resolve instead of three separate `TypedArena`s.

`DroplessArena` checks that the type indeed doesn't need drop, so in case the types change, this will result in visible failures.
</content>
</entry>
<entry>
<title>Resolve: Use dropless arena for types that don't need drop</title>
<updated>2020-10-20T08:37:56+00:00</updated>
<author>
<name>Dániel Buga</name>
<email>bugadani@gmail.com</email>
</author>
<published>2020-10-20T08:37:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d07ce65d56d527273a2a80862c8a69d0dbc88906'/>
<id>urn:sha1:d07ce65d56d527273a2a80862c8a69d0dbc88906</id>
<content type='text'>
</content>
</entry>
</feed>
