about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2025-02-13 09:57:05 -0500
committerjyn <github@jyn.dev>2025-02-13 10:03:56 -0500
commitf7a03d075fa203eceaee81d730a78913c9ece2d4 (patch)
tree94b3b6c9538e44304fab53a7868eb9986a8747bf /compiler/rustc_trait_selection
parent4a43094662727040d8522163f295b19d1aed0e49 (diff)
downloadrust-f7a03d075fa203eceaee81d730a78913c9ece2d4.tar.gz
rust-f7a03d075fa203eceaee81d730a78913c9ece2d4.zip
Fix `x test --stage 1 ui-fulldeps` on macOS (until the next beta bump)
"stage 1" for fulldeps means "compile with stage 0, link against stage 1".
But this code wanted to switch on the compiler that's building, not the
compiler that's being tested. Fix the check.

Previously, it would fail with a warning about linker-messages:
```
--- stderr -------------------------------
warning[E0602]: unknown lint: `linker_messages`
   |
   = note: requested on the command line with `-A linker_messages`
   = note: `#[warn(unknown_lints)]` on by default
```
Diffstat (limited to 'compiler/rustc_trait_selection')
0 files changed, 0 insertions, 0 deletions