<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/parser/macro, branch cargo_update</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=cargo_update</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=cargo_update'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-26T13:33:48+00:00</updated>
<entry>
<title>Ignore more failing ui tests for GCC backend</title>
<updated>2025-09-26T13:33:48+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-09-26T11:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a535c7be5444fb6584eecc99f53e6cdb710ff70f'/>
<id>urn:sha1:a535c7be5444fb6584eecc99f53e6cdb710ff70f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mbe: Parse macro `derive` rules</title>
<updated>2025-08-14T20:53:57+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-09T22:16:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8fb98ef36846f74c8a642e856808ad5600ae4110'/>
<id>urn:sha1:8fb98ef36846f74c8a642e856808ad5600ae4110</id>
<content type='text'>
This handles various kinds of errors, but does not allow applying the
derive yet.

This adds the feature gate `macro_derive`.
</content>
</entry>
<entry>
<title>mbe: Add parser test for macro attribute recovery</title>
<updated>2025-08-08T18:01:12+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-08T17:17:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a9ccc0edbf50428d0f12441cf50f32d5ea0f558'/>
<id>urn:sha1:9a9ccc0edbf50428d0f12441cf50f32d5ea0f558</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mbe: Parse macro attribute rules</title>
<updated>2025-08-08T18:00:54+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-07-06T22:15:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bad0d45b2dc2b2be36e9e82604a6c3dd95dba08a'/>
<id>urn:sha1:bad0d45b2dc2b2be36e9e82604a6c3dd95dba08a</id>
<content type='text'>
This handles various kinds of errors, but does not allow applying the
attributes yet.

This adds the feature gate `macro_attr`.
</content>
</entry>
<entry>
<title>Rename tests named with `mbe` to use `macro` instead</title>
<updated>2025-07-06T04:09:10+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-07-05T23:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=131cffb6baca60f119c33f2599a0e6051b05c365'/>
<id>urn:sha1:131cffb6baca60f119c33f2599a0e6051b05c365</id>
<content type='text'>
Most macro tests use `macro` in the name, making it easy to find and run
tests relevant to macros. However, a few use `mbe` instead. Rename those
to say `macro`.
</content>
</entry>
<entry>
<title>Move macro tests in `parser` into `macro` directory</title>
<updated>2025-07-05T23:52:59+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-07-05T23:52:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d64306df1d834966a23a27c085c043214668181'/>
<id>urn:sha1:6d64306df1d834966a23a27c085c043214668181</id>
<content type='text'>
The `macro` directory contains most of the macro tests, but not all of
them; move the remainder into `macro`.
</content>
</entry>
<entry>
<title>mbe: Gracefully handle macro rules that end after `=&gt;`</title>
<updated>2025-07-04T03:56:05+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-07-04T03:53:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0403990000438742065e54c4cae9bb1afb0e6038'/>
<id>urn:sha1:0403990000438742065e54c4cae9bb1afb0e6038</id>
<content type='text'>
Add a test for various cases of invalid macro definitions.

Closes: https://github.com/rust-lang/rust/issues/143351
</content>
</entry>
<entry>
<title>mbe: Clean up code with non-optional `NonterminalKind`</title>
<updated>2025-06-24T08:37:36+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2025-06-18T02:15:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b9e9be38c01104dd7e1a23995ef89995357bd35b'/>
<id>urn:sha1:b9e9be38c01104dd7e1a23995ef89995357bd35b</id>
<content type='text'>
Since [1], the fragment specifier is unconditionally required in all
editions. This means `NonTerminalKind` no longer needs to be optional,
as we can reject this code during the expansion of `macro_rules!` rather
than handling it throughout the code. Do this cleanup here.

[1]: https://github.com/rust-lang/rust/pull/128425
</content>
</entry>
<entry>
<title>Make `missing_fragment_specifier` an unconditional error</title>
<updated>2025-06-12T07:57:12+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-07-31T03:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=841f7ce69ac503fb9566deeefbbd273c1587f4e6'/>
<id>urn:sha1:841f7ce69ac503fb9566deeefbbd273c1587f4e6</id>
<content type='text'>
This was attempted in [1] then reverted in [2] because of fallout.
Recently, this was made an edition-dependent error in [3].

Make missing fragment specifiers an unconditional error again.

[1]: https://github.com/rust-lang/rust/pull/75516
[2]: https://github.com/rust-lang/rust/pull/80210
[3]: https://github.com/rust-lang/rust/pull/128006
</content>
</entry>
<entry>
<title>Report text_direction_codepoint_in_literal when parsing</title>
<updated>2025-05-27T15:57:41+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2025-05-14T10:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=65bdb31a97af553c4fd932a171b74eaad76c1c53'/>
<id>urn:sha1:65bdb31a97af553c4fd932a171b74eaad76c1c53</id>
<content type='text'>
- The lint is now reported in code that gets removed/modified/duplicated
  by macro expansion.
- Spans are more accurate
- Fixes #140281
</content>
</entry>
</feed>
