<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustc_ast/visit.rs, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-08-30T15:45:07+00:00</updated>
<entry>
<title>mv compiler to compiler/</title>
<updated>2020-08-30T15:45:07+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-08-28T03:58:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e5f7d5631b8f4009ac1c693e585d4b7108d4275'/>
<id>urn:sha1:9e5f7d5631b8f4009ac1c693e585d4b7108d4275</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Suggest adding `&amp;self` when accessing `self` in static assoc `fn`</title>
<updated>2020-08-14T01:00:56+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2020-08-14T00:52:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=360388b160ca5be560fec59acb84a86e813524f3'/>
<id>urn:sha1:360388b160ca5be560fec59acb84a86e813524f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_ast: Stop using "string typing" for doc comment tokens</title>
<updated>2020-08-06T19:13:11+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-07-21T19:16:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=46f48d31fed06295a83f7695b74159ff58a0943c'/>
<id>urn:sha1:46f48d31fed06295a83f7695b74159ff58a0943c</id>
<content type='text'>
Explicitly store their kind and style retrieved during lexing in the token
</content>
</entry>
<entry>
<title>Track span of function in method calls, and use this in #[track_caller]</title>
<updated>2020-06-10T21:30:11+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-06-09T19:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28946b3486d507418b8a4acb92d5e2baae193d65'/>
<id>urn:sha1:28946b3486d507418b8a4acb92d5e2baae193d65</id>
<content type='text'>
Fixes #69977

When we parse a chain of method calls like `foo.a().b().c()`, each
`MethodCallExpr` gets assigned a span that starts at the beginning of
the call chain (`foo`). While this is useful for diagnostics, it means
that `Location::caller` will return the same location for every call
in a call chain.

This PR makes us separately record the span of the function name and
arguments for a method call (e.g. `b()` in `foo.a().b().c()`). This
`Span` is passed through HIR lowering and MIR building to
`TerminatorKind::Call`, where it is used in preference to
`Terminator.source_info.span` when determining `Location::caller`.

This new span is also useful for diagnostics where we want to emphasize
a particular method call - for an example, see
https://github.com/rust-lang/rust/pull/72389#discussion_r436035990
</content>
</entry>
<entry>
<title>Add asm! to AST</title>
<updated>2020-05-18T13:39:54+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2020-01-22T14:20:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=813a9fc4f121d808c48ebee47a25a773120edd45'/>
<id>urn:sha1:813a9fc4f121d808c48ebee47a25a773120edd45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove ast::{Ident, Name} reexports.</title>
<updated>2020-05-08T11:13:15+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2020-04-19T11:00:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4e143ed2f248a808fb5f1cf959f630d419cc01b'/>
<id>urn:sha1:d4e143ed2f248a808fb5f1cf959f630d419cc01b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parse: move constraint/arg restriction to ast_validation.</title>
<updated>2020-03-27T06:39:14+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-03-22T03:40:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91194f795c3ce323b50b5caa30c089ec026200f0'/>
<id>urn:sha1:91194f795c3ce323b50b5caa30c089ec026200f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename asm! to llvm_asm!</title>
<updated>2020-03-26T15:49:22+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2020-01-14T13:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d162d096ddf7972819e5b700890726a2ea85f272'/>
<id>urn:sha1:d162d096ddf7972819e5b700890726a2ea85f272</id>
<content type='text'>
asm! is left as a wrapper around llvm_asm! to maintain compatibility.
</content>
</entry>
<entry>
<title>ast: `Mac`/`Macro` -&gt; `MacCall`</title>
<updated>2020-03-12T19:26:52+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-02-29T16:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e809e0214ea9a43cc798379da4e8b303ed1000c3'/>
<id>urn:sha1:e809e0214ea9a43cc798379da4e8b303ed1000c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #69586 - petrochenkov:unmerge, r=Centril</title>
<updated>2020-03-06T02:22:49+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-03-06T02:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4a1b69d53aeb59a83de192ea67dbe4707b9a7b73'/>
<id>urn:sha1:4a1b69d53aeb59a83de192ea67dbe4707b9a7b73</id>
<content type='text'>
ast: Unmerge structures for associated items and foreign items

Follow-up to https://github.com/rust-lang/rust/pull/69194.
r? @Centril
</content>
</entry>
</feed>
