<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_builtin_macros/src/concat_bytes.rs, branch 1.68.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.68.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.68.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-12-13T00:17:10+00:00</updated>
<entry>
<title>Rollup merge of #105620 - TaKO8Ki:remove-unnecessary-uses-of-clone, r=compiler-errors</title>
<updated>2022-12-13T00:17:10+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-12-13T00:17:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4069792d732288d030f5485614e2c58297ce5564'/>
<id>urn:sha1:4069792d732288d030f5485614e2c58297ce5564</id>
<content type='text'>
Remove unnecessary uses of `clone`
</content>
</entry>
<entry>
<title>remove unnecessary uses of `clone`</title>
<updated>2022-12-12T17:06:24+00:00</updated>
<author>
<name>Takayuki Maeda</name>
<email>takoyaki0316@gmail.com</email>
</author>
<published>2022-12-12T17:06:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee40a67cd9283a9e8b0de87926581456252c6c9f'/>
<id>urn:sha1:ee40a67cd9283a9e8b0de87926581456252c6c9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkov</title>
<updated>2022-12-12T05:16:50+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-12-12T05:16:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2cd2070af7643ad88d280a4933bc4fb60451e521'/>
<id>urn:sha1:2cd2070af7643ad88d280a4933bc4fb60451e521</id>
<content type='text'>
Remove `token::Lit` from `ast::MetaItemLit`.

Currently `ast::MetaItemLit` represents the literal kind twice. This PR removes that redundancy. Best reviewed one commit at a time.

r? `@petrochenkov`
</content>
</entry>
<entry>
<title>Migrate parts of `rustc_expand` to session diagnostics</title>
<updated>2022-12-10T10:02:41+00:00</updated>
<author>
<name>nils</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-11-15T13:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f9f097cb8b6c27a7e0d7a916e6911fc1f5ecd81'/>
<id>urn:sha1:2f9f097cb8b6c27a7e0d7a916e6911fc1f5ecd81</id>
<content type='text'>
This migrates everything but the `mbe` and `proc_macro` modules. It also
contains a few cleanups and drive-by/accidental diagnostic improvements
which can be seen in the diff for the UI tests.
</content>
</entry>
<entry>
<title>`rustc_builtin_macros`: remove `ref` patterns</title>
<updated>2022-12-06T14:45:58+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-12-06T13:22:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=700c095306ce89b0b18e2487aae9c0721e60a5e3'/>
<id>urn:sha1:700c095306ce89b0b18e2487aae9c0721e60a5e3</id>
<content type='text'>
... and other pattern matching improvements
</content>
</entry>
<entry>
<title>Add `StrStyle` to `ast::LitKind::ByteStr`.</title>
<updated>2022-12-01T23:38:58+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-11-29T02:35:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a7f35c42d474f893c56b6e0f7df3f8bb965f2650'/>
<id>urn:sha1:a7f35c42d474f893c56b6e0f7df3f8bb965f2650</id>
<content type='text'>
This is required to distinguish between cooked and raw byte string
literals in an `ast::LitKind`, without referring to an adjacent
`token::Lit`. It's a prerequisite for the next commit.
</content>
</entry>
<entry>
<title>Fix an ICE parsing a malformed literal in `concat_bytes!`.</title>
<updated>2022-11-30T01:19:07+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-11-29T00:50:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf4a62c381db9adb252143dacf6738d74ed0ba58'/>
<id>urn:sha1:bf4a62c381db9adb252143dacf6738d74ed0ba58</id>
<content type='text'>
Fixes #104769.
</content>
</entry>
<entry>
<title>Use `token::Lit` in `ast::ExprKind::Lit`.</title>
<updated>2022-11-15T22:41:28+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-10-10T02:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=358a603f110b0489d22f3929d3f232e684fd9ffb'/>
<id>urn:sha1:358a603f110b0489d22f3929d3f232e684fd9ffb</id>
<content type='text'>
Instead of `ast::Lit`.

Literal lowering now happens at two different times. Expression literals
are lowered when HIR is crated. Attribute literals are lowered during
parsing.

This commit changes the language very slightly. Some programs that used
to not compile now will compile. This is because some invalid literals
that are removed by `cfg` or attribute macros will no longer trigger
errors. See this comment for more details:
https://github.com/rust-lang/rust/pull/102944#issuecomment-1277476773
</content>
</entry>
<entry>
<title>Introduce `ExprKind::IncludedBytes`</title>
<updated>2022-11-11T16:31:32+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2022-10-31T18:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b2da155a9aae875e6c2f5df52d8f87e734c88be7'/>
<id>urn:sha1:b2da155a9aae875e6c2f5df52d8f87e734c88be7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the symbol from `ast::LitKind::Err`.</title>
<updated>2022-08-23T06:56:24+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-08-22T03:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6087dc20542e9d88445604e3d8b1dd93c8fad04b'/>
<id>urn:sha1:6087dc20542e9d88445604e3d8b1dd93c8fad04b</id>
<content type='text'>
Because it's never used meaningfully.
</content>
</entry>
</feed>
