<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_ast_lowering/src, branch 1.58.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.58.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.58.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-11-26T03:57:55+00:00</updated>
<entry>
<title>Auto merge of #85102 - estebank:point-at-assignment, r=oli-obk</title>
<updated>2021-11-26T03:57:55+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-11-26T03:57:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9adfd9db78b274bd710a94d7778cbd5db11b9241'/>
<id>urn:sha1:9adfd9db78b274bd710a94d7778cbd5db11b9241</id>
<content type='text'>
Diagnostic tweaks

* On type mismatch caused by assignment, point at the source of the expectation
* Hide redundant errors
* Suggest `while let` when `let` is missing in some cases
</content>
</entry>
<entry>
<title>On type mismatch caused by assignment, point at assignee</title>
<updated>2021-11-25T18:04:33+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2021-05-07T02:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37a11a96a1b3ad68c40cc293270cf8ffbe7904de'/>
<id>urn:sha1:37a11a96a1b3ad68c40cc293270cf8ffbe7904de</id>
<content type='text'>
* Do not emit unnecessary E0308 after E0070
* Show fewer errors on `while let` missing `let`
* Hide redundant E0308 on `while let` missing `let`
* Point at binding definition when possible on invalid assignment
* do not point at closure twice
* do not suggest `if let` for literals in lhs
* account for parameter types
</content>
</entry>
<entry>
<title>Do not visit attributes in `ItemLowerer`.</title>
<updated>2021-11-23T21:06:22+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-11-21T15:16:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae126ad282f24437d6f57909a038fbca24c1e6dd'/>
<id>urn:sha1:ae126ad282f24437d6f57909a038fbca24c1e6dd</id>
<content type='text'>
By default, AST visitors visit expressions that appear in key-value attributes.
Those expressions should not be lowered to HIR, as they do not correspond to actually compiled code.

Since an attribute cannot produce meaningful HIR, just skip them altogether.
</content>
</entry>
<entry>
<title>Simplify for loop desugar</title>
<updated>2021-11-21T14:15:21+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2021-10-26T04:33:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c83f8c4d1e562cd73a29a00828d68e2b520a086'/>
<id>urn:sha1:9c83f8c4d1e562cd73a29a00828d68e2b520a086</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #90990 - nnethercote:arenas-cleanup, r=oli-obk</title>
<updated>2021-11-19T04:06:38+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2021-11-19T04:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1576a7cc81c3eefa533ae84f81df4dabc0f85ee5'/>
<id>urn:sha1:1576a7cc81c3eefa533ae84f81df4dabc0f85ee5</id>
<content type='text'>
Arenas cleanup

I was looking closely at the arenas code and here are some small improvement to readability.
</content>
</entry>
<entry>
<title>rustc: Remove `#[rustc_synthetic]`</title>
<updated>2021-11-18T06:32:29+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2021-11-18T05:25:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91e02177a1f41aa4f3260fef40caef1fdaf3cc20'/>
<id>urn:sha1:91e02177a1f41aa4f3260fef40caef1fdaf3cc20</id>
<content type='text'>
This function parameter attribute was introduced in https://github.com/rust-lang/rust/pull/44866 as an intermediate step in implementing `impl Trait`, it's not necessary or used anywhere by itself.
</content>
</entry>
<entry>
<title>Remove unnecessary lifetime argument from arena macros.</title>
<updated>2021-11-16T22:38:30+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2021-11-15T22:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=552073701f0c20c26b8579b7b6810bbeb6595f26'/>
<id>urn:sha1:552073701f0c20c26b8579b7b6810bbeb6595f26</id>
<content type='text'>
Because it's always `'tcx`. In fact, some of them use a mixture of
passed-in `$tcx` and hard-coded `'tcx`, so no other lifetime would even
work.

This makes the code easier to read.
</content>
</entry>
<entry>
<title>Add support for specifying multiple clobber_abi in `asm!`</title>
<updated>2021-11-10T06:06:03+00:00</updated>
<author>
<name>asquared31415</name>
<email>34665709+asquared31415@users.noreply.github.com</email>
</author>
<published>2021-10-14T07:23:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b233d3b5da7b4b6ba2e016d2c2cfdb67fb984777'/>
<id>urn:sha1:b233d3b5da7b4b6ba2e016d2c2cfdb67fb984777</id>
<content type='text'>
Allow multiple clobber_abi in asm

Update docs
Fix aarch64 test
Combine abis
Emit duplicate ABI error, empty ABI list error
multiple clobber_abi</content>
</entry>
<entry>
<title>ast: Fix naming conventions in AST structures</title>
<updated>2021-11-07T13:38:17+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2021-11-07T08:43:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2834f57c4584e33471f8bdc3cc57617fc0863fde'/>
<id>urn:sha1:2834f57c4584e33471f8bdc3cc57617fc0863fde</id>
<content type='text'>
TraitKind -&gt; Trait
TyAliasKind -&gt; TyAlias
ImplKind -&gt; Impl
FnKind -&gt; Fn

All `*Kind`s in AST are supposed to be enums.

Tuple structs are converted to braced structs for the types above, and fields are reordered in syntactic order.

Also, mutable AST visitor now correctly visit spans in defaultness, unsafety, impl polarity and constness.
</content>
</entry>
<entry>
<title>Add features gates for experimental asm features</title>
<updated>2021-11-07T01:23:53+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2021-10-27T17:37:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb32c00216efb74d2101c9c7896f0b5c5c45fdb0'/>
<id>urn:sha1:eb32c00216efb74d2101c9c7896f0b5c5c45fdb0</id>
<content type='text'>
</content>
</entry>
</feed>
