<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/on-unimplemented, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-06-22T08:58:25+00:00</updated>
<entry>
<title>Implement DesugaringKind::FormatLiteral</title>
<updated>2025-06-22T08:58:25+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-06-16T15:51:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1d18129d199c095372c39f75a5c3fb31ea166c2'/>
<id>urn:sha1:b1d18129d199c095372c39f75a5c3fb31ea166c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor  `AttributeGate` and `rustc_attr!` to emit notes during feature checking</title>
<updated>2025-06-09T09:44:24+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-05-18T16:35:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=959d6de1a928061256bb845025597be11ddca2ea'/>
<id>urn:sha1:959d6de1a928061256bb845025597be11ddca2ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>do away with `_Self` and `TraitName` and check generic params for rustc_on_unimplemented</title>
<updated>2025-05-17T13:15:53+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-05-17T13:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ffd0bf75a30b4fce1ffa35732666a37a7e9a736'/>
<id>urn:sha1:9ffd0bf75a30b4fce1ffa35732666a37a7e9a736</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #140307 - mejrs:condition_parser, r=nnethercote</title>
<updated>2025-05-05T04:20:57+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2025-05-05T04:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9a50b8a0a01808ff135b2706d6f7093789c02e3'/>
<id>urn:sha1:e9a50b8a0a01808ff135b2706d6f7093789c02e3</id>
<content type='text'>
Refactor rustc_on_unimplemented's filter parser

Followup to https://github.com/rust-lang/rust/pull/139091; I plan on moving most of this code into `rustc_attr_parsing` at some point, but want to land this separately first.

I have taken care to preserve the original behavior as much as I could:
- All but one of the new error variants are replacements for the ones originally emitted by the cfg parsing machinery; so these errors are not "new".
- the `InvalidFlag` variant is new, this PR turns this (from being ignored and silently doing nothing) into an error:
    ```rust
    #[rustc_on_unimplemented(on(something, message = "y"))]
    //~^ ERROR invalid boolean flag
    //~^^ NOTE expected one of `crate_local`, `direct` or `from_desugaring`, not `something`
    trait InvalidFlag {}
    ```
    This does not occur anywhere except in this test. I couldn't find a way that I liked to keep allowing this or to do nothing, erroring was the cleanest solution.
- There are a bunch of FIXME throughout this and the previous PR, I plan on addressing those in follow up prs..

Finally, this gets rid of the "longest" dependency in rustc:
![image](https://github.com/user-attachments/assets/3c3eb3a0-b7b3-40d9-aada-a752e28c8678)
</content>
</entry>
<entry>
<title>Refactor rustc_on_unimplemented's filter parser</title>
<updated>2025-05-02T20:08:35+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-05-02T20:08:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4671081bdbc73d35a465a150937b6d0ecd26087f'/>
<id>urn:sha1:4671081bdbc73d35a465a150937b6d0ecd26087f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix comment describing what the test does</title>
<updated>2025-04-29T10:19:55+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-04-29T10:19:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc2cd77e114a651755f39f2d9dc5cec6911f4bd9'/>
<id>urn:sha1:fc2cd77e114a651755f39f2d9dc5cec6911f4bd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve rustc_on_unimplemented ui test</title>
<updated>2025-04-21T22:19:49+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-04-21T22:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d2d844c65dd120a9f3cab15d7519499fcc4130a0'/>
<id>urn:sha1:d2d844c65dd120a9f3cab15d7519499fcc4130a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove rustc_on_unimplemented on impl tests</title>
<updated>2025-04-13T22:12:37+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-04-10T14:06:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4a5369b476fb17aa2db05b5b551eca0cfa6b2c6b'/>
<id>urn:sha1:4a5369b476fb17aa2db05b5b551eca0cfa6b2c6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test that `Self` properly works in filters</title>
<updated>2025-04-13T22:12:37+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-04-01T00:47:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40e76c157548442fce755ec9cc2274aef11454ba'/>
<id>urn:sha1:40e76c157548442fce755ec9cc2274aef11454ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Raise errors on bad rustc_on_unimplemented format strings again</title>
<updated>2025-04-13T22:12:37+00:00</updated>
<author>
<name>mejrs</name>
<email>59372212+mejrs@users.noreply.github.com</email>
</author>
<published>2025-03-29T12:48:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=10ec5cbe96b8b1ba96fbacc207d6a2f0d19ca9e2'/>
<id>urn:sha1:10ec5cbe96b8b1ba96fbacc207d6a2f0d19ca9e2</id>
<content type='text'>
</content>
</entry>
</feed>
