<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/rustdoc, 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>2025-08-14T16:18:42+00:00</updated>
<entry>
<title>Update uitests</title>
<updated>2025-08-14T16:18:42+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-08-09T18:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4bb7bf64e07fee97439ee6e647aa2b58cbaac54d'/>
<id>urn:sha1:4bb7bf64e07fee97439ee6e647aa2b58cbaac54d</id>
<content type='text'>
Signed-off-by: Jonathan Brouwer &lt;jonathantbrouwer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Tweak rendering of cfg'd out item</title>
<updated>2025-08-01T23:58:15+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-08-01T23:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b24c4bf23df8ae5c53669e3209b9f3074769b69'/>
<id>urn:sha1:4b24c4bf23df8ae5c53669e3209b9f3074769b69</id>
<content type='text'>
```
error[E0433]: failed to resolve: could not find `doesnt_exist` in `inner`
  --&gt; $DIR/diagnostics-cross-crate.rs:18:23
   |
LL |     cfged_out::inner::doesnt_exist::hello();
   |                       ^^^^^^^^^^^^ could not find `doesnt_exist` in `inner`
   |
note: found an item that was configured out
  --&gt; $DIR/auxiliary/cfged_out.rs:6:13
   |
LL |     #[cfg(false)]
   |           ----- the item is gated here
LL |     pub mod doesnt_exist {
   |             ^^^^^^^^^^^^
```
</content>
</entry>
<entry>
<title>Detect more `cfg`d out items in resolution errors</title>
<updated>2025-08-01T21:50:36+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-08-17T05:45:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=adcda6ca9a6d27c04399e3efe1c67fc6ff04d997'/>
<id>urn:sha1:adcda6ca9a6d27c04399e3efe1c67fc6ff04d997</id>
<content type='text'>
Use a visitor to collect *all* items (including those nested) that were stripped behind a `cfg` condition.

```
error[E0425]: cannot find function `f` in this scope
  --&gt; $DIR/nested-cfg-attrs.rs:4:13
   |
LL | fn main() { f() }
   |             ^ not found in this scope
   |
note: found an item that was configured out
  --&gt; $DIR/nested-cfg-attrs.rs:2:4
   |
LL | fn f() {}
   |    ^
note: the item is gated here
  --&gt; $DIR/nested-cfg-attrs.rs:1:35
   |
LL | #[cfg_attr(all(), cfg_attr(all(), cfg(FALSE)))]
   |                                   ^^^^^^^^^^
```
</content>
</entry>
<entry>
<title>Specify of_trait in Target::Impl.</title>
<updated>2025-07-17T22:21:21+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2025-07-12T14:53:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87a27f94b095793a1833a9dacec1493cc6cdcd6b'/>
<id>urn:sha1:87a27f94b095793a1833a9dacec1493cc6cdcd6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't include current rustc version string in feature removed help</title>
<updated>2025-06-24T15:32:09+00:00</updated>
<author>
<name>Jieyou Xu</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2025-06-24T02:09:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db11e747230caa23aad3f159e42dc3b47baf7557'/>
<id>urn:sha1:db11e747230caa23aad3f159e42dc3b47baf7557</id>
<content type='text'>
The version string is difficult to properly normalize out, and removing
it isn't a huge deal (the user can query version info easily through
`rustc --version` or `cargo --version`).

The normalization options were all non-ideal:

- Per-test version string normalization is nasty to maintain, and we
  need to maintain `n` copies of it.
- Centralized compiletest normalization (with a directive opt-out) is
  also not ideal, because `cfg(version(..))` tests can't have those
  accidentally normalized out (and you'd have to remember to opt-out).
</content>
</entry>
<entry>
<title>Account for beta revisions when normalizing versions</title>
<updated>2025-06-23T20:30:14+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2025-06-23T20:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8469966710a16fd11af832d592569bcdf2298081'/>
<id>urn:sha1:8469966710a16fd11af832d592569bcdf2298081</id>
<content type='text'>
Several UI tests have a `normalize-stderr` for "you are using x.y.z"
rustc versions, and that regex is flexible enough for suffixes like
"-nightly" and "-dev", but not for "-beta.N". We can just add '.' to
that trailing pattern to include this.
</content>
</entry>
<entry>
<title>Rollup merge of #141162 - mejrs:gated, r=fee1-dead</title>
<updated>2025-06-12T18:03:35+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-06-12T18:03:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=25914399abdeed9d53e260e63d4f129d7df8b475'/>
<id>urn:sha1:25914399abdeed9d53e260e63d4f129d7df8b475</id>
<content type='text'>
refactor  `AttributeGate` and `rustc_attr!` to emit notes during feature checking

First commit changes the following:

- `AttributeGate ` from an enum with (four) tuple fields to (five) named fields
- adds a `notes` fields that is emitted as notes in the `PostExpansionVisitor` pass
- removes the `this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date` note if the feature gate is `rustc_attrs`.
- various phrasing changes and touchups
- and finally, the reason why I went down this path to begin with: tell people they can use the diagnostic namespace when they hit the rustc_on_unimplemented feature gate 🙈

Second commit removes unused machinery for deprecated attributes
</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>Make `since` of removed features the version removed and fill `pull`</title>
<updated>2025-06-09T09:17:49+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-06-04T09:10:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b898041f63c488e7173a5e161955aa3cafceb2f'/>
<id>urn:sha1:4b898041f63c488e7173a5e161955aa3cafceb2f</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>Note the version and PR of removed features when using it</title>
<updated>2025-06-09T09:10:58+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-05-27T09:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4ba017c3306bbdb8f3da3dff80e58ff3ed9a1ab'/>
<id>urn:sha1:b4ba017c3306bbdb8f3da3dff80e58ff3ed9a1ab</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
</feed>
