<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/cfg, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-11T17:02:32+00:00</updated>
<entry>
<title>Add more docs to templates for attrs with incorrect arguments</title>
<updated>2025-08-11T17:02:32+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-08-11T17:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32ee26c625e8fbb7a3aa56788cbb352f04491964'/>
<id>urn:sha1:32ee26c625e8fbb7a3aa56788cbb352f04491964</id>
<content type='text'>
</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>remove recursive search for items</title>
<updated>2025-08-01T22:02:52+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-12-31T22:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ba4559a9d6974f5789f7e1654d5063941bb8816'/>
<id>urn:sha1:4ba4559a9d6974f5789f7e1654d5063941bb8816</id>
<content type='text'>
</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>Rollup merge of #144151 - Kivooeo:issue1, r=jieyouxu</title>
<updated>2025-07-28T06:36:51+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-28T06:36:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a08ced3856e297b9576a2ec697c5bcb8983a24c4'/>
<id>urn:sha1:a08ced3856e297b9576a2ec697c5bcb8983a24c4</id>
<content type='text'>
`tests/ui/issues/`: The Issues Strike Back [1/N]

I believe I’ve finally brought [my program](https://github.com/Kivooeo/test-manager) to life -- it now handles multiple test moves in one go: plain moves first, then a gentle touch on each file depends on given options. The process should be much smoother now.

Of course, I won’t rush through everything in a few days -- that would be unkind to `@Oneirical.` I’ll pace myself. And also I can't have more than one such PR because `issues.txt` will conflict with previous parts after merging them which is not fun as well.

This PR is just that: first commit - moves; second - regression comments and the occasional .stderr reblesses, also issue.txt and tidy changes. Nothing special, but progress nonetheless. This is for the purpose of preserving test file history during restructuring

Part of https://github.com/rust-lang/rust/issues/133895.

r? `@jieyouxu`
</content>
</entry>
<entry>
<title>Rollup merge of #144356 - GuillaumeGomez:gcc-ignore-tests, r=jieyouxu</title>
<updated>2025-07-26T06:15:08+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2025-07-26T06:15:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6b1b68f4ee9314e4286f98d38f8b0f3cde3938c5'/>
<id>urn:sha1:6b1b68f4ee9314e4286f98d38f8b0f3cde3938c5</id>
<content type='text'>
Add `ignore-backends` annotations in failing GCC backend ui tests

Follow-up of https://github.com/rust-lang/rust/pull/144125.

In the GCC backend, we don't support all ui tests yet and we have a list of tests we currently ignore available [here](https://github.com/rust-lang/rustc_codegen_gcc/blob/master/tests/failing-ui-tests.txt).

This PR adds the `ignore-backends` annotations to the corresponding ui tests.

The second commit is a fix to compiletest, complaining about `ignore-backends`.

r? ```@jieyouxu```
</content>
</entry>
<entry>
<title>comments</title>
<updated>2025-07-25T15:38:54+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-07-18T17:06:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9959aa74e23eb340d6c9e9a4eab807be03b028f'/>
<id>urn:sha1:e9959aa74e23eb340d6c9e9a4eab807be03b028f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move 28 tests</title>
<updated>2025-07-25T15:38:54+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-07-18T17:00:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9f38ca97eab53ba2f431a48bec2343ef52335714'/>
<id>urn:sha1:9f38ca97eab53ba2f431a48bec2343ef52335714</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143979 - dpaoliello:arm64ectest, r=petrochenkov</title>
<updated>2025-07-25T09:16:35+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-25T09:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfbd0c4e5aa4e2b44620549f73da45d1f16cfd6a'/>
<id>urn:sha1:dfbd0c4e5aa4e2b44620549f73da45d1f16cfd6a</id>
<content type='text'>
Test fixes for Arm64EC Windows

* `tests/ui/cfg/conditional-compile-arch.rs` needs an Arm64EC case.
* `tests/ui/runtime/backtrace-debuginfo.rs` should skip Arm64EC as it suffers from the same truncated backtraces as Arm64 Windows.
* `tests/ui/linkage-attr/incompatible-flavor.rs` is a general issue: it assumes that the Rust compiler is always built with the x86 target enabled in the backend, but I only enabled AArch64 when building locally to speed up the LLVM compilation.
</content>
</entry>
<entry>
<title>Add `ignore-backends` annotations in failing GCC backend ui tests</title>
<updated>2025-07-23T11:48:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-23T11:31:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=de93fb13feeb6263bef61d4035e78ab8651c5714'/>
<id>urn:sha1:de93fb13feeb6263bef61d4035e78ab8651c5714</id>
<content type='text'>
</content>
</entry>
</feed>
