1
Fork 0
rust/tests/ui/lint
bors 8bf5a8d12f Auto merge of #132833 - est31:stabilize_let_chains, r=fee1-dead
Stabilize let chains in the 2024 edition

# Stabilization report

This proposes the stabilization of `let_chains` ([tracking issue], [RFC 2497]) in the [2024 edition] of Rust.

[tracking issue]: https://github.com/rust-lang/rust/issues/53667
[RFC 2497]: https://github.com/rust-lang/rfcs/pull/2497
[2024 edition]: https://doc.rust-lang.org/nightly/edition-guide/rust-2024/index.html

## What is being stabilized

The ability to `&&`-chain `let` statements inside `if` and `while` is being stabilized, allowing intermixture with boolean expressions. The patterns inside the `let` sub-expressions can be irrefutable or refutable.

```Rust
struct FnCall<'a> {
    fn_name: &'a str,
    args: Vec<i32>,
}

fn is_legal_ident(s: &str) -> bool {
    s.chars()
        .all(|c| ('a'..='z').contains(&c) || ('A'..='Z').contains(&c))
}

impl<'a> FnCall<'a> {
    fn parse(s: &'a str) -> Option<Self> {
        if let Some((fn_name, after_name)) = s.split_once("(")
            && !fn_name.is_empty()
            && is_legal_ident(fn_name)
            && let Some((args_str, "")) = after_name.rsplit_once(")")
        {
            let args = args_str
                .split(',')
                .map(|arg| arg.parse())
                .collect::<Result<Vec<_>, _>>();
            args.ok().map(|args| FnCall { fn_name, args })
        } else {
            None
        }
    }
    fn exec(&self) -> Option<i32> {
        let iter = self.args.iter().copied();
        match self.fn_name {
            "sum" => Some(iter.sum()),
            "max" => iter.max(),
            "min" => iter.min(),
            _ => None,
        }
    }
}

fn main() {
    println!("{:?}", FnCall::parse("sum(1,2,3)").unwrap().exec());
    println!("{:?}", FnCall::parse("max(4,5)").unwrap().exec());
}
```

The feature will only be stabilized for the 2024 edition and future editions. Users of past editions will get an error with a hint to update the edition.

closes #53667

## Why 2024 edition?

Rust generally tries to ship new features to all editions. So even the oldest editions receive the newest features. However, sometimes a feature requires a breaking change so much that offering the feature without the breaking change makes no sense. This occurs rarely, but has happened in the 2018 edition already with `async` and `await` syntax. It required an edition boundary in order for `async`/`await` to become keywords, and the entire feature foots on those keywords.

In the instance of let chains, the issue is the drop order of `if let` chains. If we want `if let` chains to be compatible with `if let`, drop order makes it hard for us to [generate correct MIR]. It would be strange to have different behaviour for `if let ... {}` and `if true && let ... {}`. So it's better to [stay consistent with `if let`].

In edition 2024, [drop order changes] have been introduced to make `if let` temporaries be lived more shortly. These changes also affected `if let` chains. These changes make sense even if you don't take the `if let` chains MIR generation problem into account. But if we want to use them as the solution to the MIR generation problem, we need to restrict let chains to edition 2024 and beyond: for let chains, it's not just a change towards more sensible behaviour, but one required for correct function.

[generate correct MIR]: https://github.com/rust-lang/rust/issues/104843
[stay consistent with `if let`]: https://github.com/rust-lang/rust/pull/103293#issuecomment-1293408574
[drop order changes]: https://github.com/rust-lang/rust/issues/124085

## Introduction considerations

As edition 2024 is very new, this stabilization PR only makes it possible to use let chains on 2024 without that feature gate, it doesn't mark that feature gate as stable/removed. I would propose to continue offering the `let_chains` feature (behind a feature gate) for a limited time (maybe 3 months after stabilization?) on older editions to allow nightly users to adopt edition 2024 at their own pace. After that, the feature gate shall be marked as *stabilized*, not removed, and replaced by an error on editions 2021 and below.

## Implementation history

* History from before March 14, 2022 can be found in the [original stabilization PR] that was reverted.
* https://github.com/rust-lang/rust/pull/94927
* https://github.com/rust-lang/rust/pull/94951
* https://github.com/rust-lang/rust/pull/94974
* https://github.com/rust-lang/rust/pull/95008
* https://github.com/rust-lang/rust/pull/97295
* https://github.com/rust-lang/rust/pull/98633
* https://github.com/rust-lang/rust/pull/99731
* https://github.com/rust-lang/rust/pull/102394
* https://github.com/rust-lang/rust/pull/100526
* https://github.com/rust-lang/rust/pull/100538
* https://github.com/rust-lang/rust/pull/102998
* https://github.com/rust-lang/rust/pull/103405
* https://github.com/rust-lang/rust/pull/103293
* https://github.com/rust-lang/rust/pull/107251
* https://github.com/rust-lang/rust/pull/110568
* https://github.com/rust-lang/rust/pull/115677
* https://github.com/rust-lang/rust/pull/117743
* https://github.com/rust-lang/rust/pull/117770
* https://github.com/rust-lang/rust/pull/118191
* https://github.com/rust-lang/rust/pull/119554
* https://github.com/rust-lang/rust/pull/129394
* https://github.com/rust-lang/rust/pull/132828
* https://github.com/rust-lang/reference/pull/1179
* https://github.com/rust-lang/reference/pull/1251
* https://github.com/rust-lang/rustfmt/pull/5910

[original stabilization PR]: https://github.com/rust-lang/rust/pull/94927

## Adoption history

### In the compiler

* History before March 14, 2022 can be found in the [original stabilization PR].
* https://github.com/rust-lang/rust/pull/115983
* https://github.com/rust-lang/rust/pull/116549
* https://github.com/rust-lang/rust/pull/116688

### Outside of the compiler

* https://github.com/rust-lang/rust-clippy/pull/11750
* [rspack](https://github.com/web-infra-dev/rspack)
* [risingwave](https://github.com/risingwavelabs/risingwave)
* [dylint](https://github.com/trailofbits/dylint)
* [convex-backend](https://github.com/get-convex/convex-backend)
* [tikv](https://github.com/tikv/tikv)
* [Daft](https://github.com/Eventual-Inc/Daft)
* [greptimedb](https://github.com/GreptimeTeam/greptimedb)

## Tests

<details>

### Intentional restrictions

[`partially-macro-expanded.rs`](4adafcf40a/tests/ui/rfcs/rfc-2294-if-let-guard/partially-macro-expanded.rs), [`macro-expanded.rs`](4adafcf40a/tests/ui/rfcs/rfc-2294-if-let-guard/macro-expanded.rs): it is possible to use macros to expand to both the pattern and the expression inside a let chain, but not to the entire `let pat = expr` operand.
[`parens.rs`](4adafcf40a/tests/ui/rfcs/rfc-2294-if-let-guard/parens.rs): `if (let pat = expr)` is not allowed in chains
[`ensure-that-let-else-does-not-interact-with-let-chains.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/ensure-that-let-else-does-not-interact-with-let-chains.rs): `let...else` doesn't support chaining.

### Overlap with match guards

[`move-guard-if-let-chain.rs`](4adafcf40a/tests/ui/rfcs/rfc-2294-if-let-guard/move-guard-if-let-chain.rs): test for the `use moved value` error working well in match guards. could maybe be extended with let chains that have more than one `let`
[`shadowing.rs`](4adafcf40a/tests/ui/rfcs/rfc-2294-if-let-guard/shadowing.rs): shadowing in if let guards works as expected
[`ast-validate-guards.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/ast-validate-guards.rs): let chains in match guards require the match guards feature gate

### Simple cases from the early days

PR #88642 has added some tests with very simple usages of `let else`, mostly as regression tests to early bugs.

[`then-else-blocks.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/then-else-blocks.rs)
[`ast-lowering-does-not-wrap-let-chains.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/ast-lowering-does-not-wrap-let-chains.rs)
[`issue-90722.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/issue-90722.rs)
[`issue-92145.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/issue-92145.rs)

### Drop order/MIR scoping tests

[`issue-100276.rs`](4adafcf40a/tests/ui/drop/issue-100276.rs): let expressions on RHS aren't terminating scopes
[`drop_order.rs`](4adafcf40a/tests/ui/drop/drop_order.rs): exhaustive temporary drop order test for various Rust constructs, including let chains
[`scope.rs`](4adafcf40a/tests/ui/rfcs/rfc-2294-if-let-guard/scope.rs): match guard scoping test
[`drop-scope.rs`](4adafcf40a/tests/ui/rfcs/rfc-2294-if-let-guard/drop-scope.rs): another match guard scoping test, ensuring that temporaries in if-let guards live for the arm
[`drop_order_if_let_rescope.rs`](4adafcf40a/tests/ui/drop/drop_order_if_let_rescope.rs): if let rescoping on edition 2024, including chains
[`mir_let_chains_drop_order.rs`](4adafcf40a/tests/ui/mir/mir_let_chains_drop_order.rs): comprehensive drop order test for let chains, distinguishes editions 2021 and 2024.
[`issue-99938.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/issue-99938.rs), [`issue-99852.rs`](4adafcf40a/tests/ui/mir/issue-99852.rs) both bad MIR ICEs fixed by #102394

### Linting

[`irrefutable-lets.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/irrefutable-lets.rs): trailing and leading irrefutable let patterns get linted for, others don't. The lint is turned off for `else if`.
[`issue-121070-let-range.rs`](4adafcf40a/tests/ui/lint/issue-121070-let-range.rs): regression test for false positive of the unused parens lint, precedence requires the `()`s here

### Parser: intentional restrictions

[`disallowed-positions.rs`](2128d8df0e/tests/ui/rfcs/rfc-2497-if-let-chains/disallowed-positions.rs): `let` in expression context is rejected everywhere except at the top level
[`invalid-let-in-a-valid-let-context.rs`](4adafcf40a/tests/ui/rfcs/rfc-2497-if-let-chains/invalid-let-in-a-valid-let-context.rs): nested `let` is not allowed (let's are no legal expressions just because they are allowed in `if` and `while`).

### Parser: recovery

[`issue-103381.rs`](4adafcf40a/tests/ui/parser/issues/issue-103381.rs): Graceful recovery of incorrect chaining of `if` and `if let`
[`semi-in-let-chain.rs`](4adafcf40a/tests/ui/parser/semi-in-let-chain.rs): Ensure that stray `;`s in let chains give nice errors (`if_chain!` users might be accustomed to `;`s)
[`deli-ident-issue-1.rs`](4adafcf40a/tests/ui/parser/deli-ident-issue-1.rs), [`brace-in-let-chain.rs`](4adafcf40a/tests/ui/parser/brace-in-let-chain.rs): Ensure that stray unclosed `{`s in let chains give nice errors and hints

### Misc

[`conflicting_bindings.rs`](4adafcf40a/tests/ui/pattern/usefulness/conflicting_bindings.rs): the conflicting bindings check also works in let chains. Personally, I'd extend it to chains with multiple let's as well.
[`let-chains-attr.rs`](4adafcf40a/tests/ui/expr/if/attrs/let-chains-attr.rs): attributes work on let chains

### Tangential tests with `#![feature(let_chains)]`

[`if-let.rs`](4adafcf40a/tests/coverage/branch/if-let.rs): MC/DC coverage tests for let chains
[`logical_or_in_conditional.rs`](4adafcf40a/tests/mir-opt/building/logical_or_in_conditional.rs): not really about let chains, more about dropping/scoping behaviour of `||`
[`stringify.rs`](4adafcf40a/tests/ui/macros/stringify.rs): exhaustive test of the `stringify` macro
[`expanded-interpolation.rs`](4adafcf40a/tests/ui/unpretty/expanded-interpolation.rs), [`expanded-exhaustive.rs`](4adafcf40a/tests/ui/unpretty/expanded-exhaustive.rs): Exhaustive test of `-Zunpretty`
[`diverges-not.rs`](4adafcf40a/tests/ui/rfcs/rfc-0000-never_patterns/diverges-not.rs): Never type, mostly tangential to let chains

</details>

## Possible future work

* There is proposals to allow `if let Pat(bindings) = expr {}` to be written as `if expr is Pat(bindings) {}` ([RFC 3573]). `if let` chains are a natural extension of the already existing `if let` syntax, and I'd argue orthogonal towards `is` syntax.
  * https://github.com/rust-lang/lang-team/issues/297
* One could have similar chaining inside `let ... else` statements. There is no proposed RFC for this however, nor is it implemented on nightly.
* Match guards have the `if` keyword as well, but on stable Rust, they don't support `let`. The functionality is available via an unstable feature ([`if_let_guard` tracking issue]). Stabilization of let chains affects this feature in so far as match guards containing let chains now only need the `if_let_guard` feature gate be present instead of also the `let_chains` feature (NOTE: this PR doesn't implement this simplification, it's left for future work).

[RFC 3573]: https://github.com/rust-lang/rfcs/pull/3573
[`if_let_guard` tracking issue]: https://github.com/rust-lang/rust/issues/51114

## Open questions / blockers

- [ ] bad recovery if you don't put a `let` (I don't think this is a blocker): [#117977](https://github.com/rust-lang/rust/issues/117977)
- [x] An instance where a temporary lives shorter than with nested ifs, breaking compilation: [#103476](https://github.com/rust-lang/rust/issues/103476). Personally I don't think this is a blocker either, as it's an edge case. Edit: turns out to not reproduce in edition 2025 any more, due to let rescoping. regression test added in #133093
- [x] One should probably extend the tests for `move-guard-if-let-chain.rs` and `conflicting_bindings.rs` to have chains with multiple let's: done in 133093
- [x] Parsing rejection tests: addressed by https://github.com/rust-lang/rust/pull/132828
- [x] [Style](https://rust-lang.zulipchat.com/#narrow/channel/346005-t-style/topic/let.20chains.20stabilization.20and.20formatting): https://github.com/rust-lang/rust/pull/139456
- [x] https://github.com/rust-lang/rust/issues/86730 explicitly mentions `let_else`. I think we can live with `let pat = expr` not evaluating as `expr` for macro_rules macros, especially given that `let pat = expr` is not a legal expression anywhere except inside `if` and `while`.
- [x] Documentation in the reference: https://github.com/rust-lang/reference/pull/1740
- [x] Add chapter to the Rust 2024 [edition guide]: https://github.com/rust-lang/edition-guide/pull/337
- [x] Resolve open questions on desired drop order.

[original reference PR]: https://github.com/rust-lang/reference/pull/1179
[edition guide]: https://github.com/rust-lang/edition-guide
2025-04-22 07:54:10 +00:00
..
auxiliary Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
dangling-pointers-from-temporaries Update lint tests with new dangling pointers message 2025-01-22 00:00:31 -05:00
dead-code Cleaned up 4 tests in tests/ui/issues 2025-04-19 01:10:26 -06:00
decorate-ice Invoke decorate when error level is beyond warning, including error 2024-03-17 14:41:37 +00:00
elided-named-lifetimes Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
force-warn compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
improper_ctypes tests: issue-34798.rs => allow-phantomdata-in-ffi.rs 2024-09-27 14:29:34 -07:00
internal [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
keyword-idents Known-bug test for keyword_idents lint not propagating to other files 2024-10-28 16:57:08 +11:00
known-tool-in-submodule tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
large_assignments report call site of inlined scopes for large assignment lints 2025-04-08 20:49:50 +02:00
let_underscore Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
must_not_suspend Point at lint name instead of whole attr for gated lints 2024-12-18 19:27:44 +00:00
non-local-defs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
non-snake-case tests: use specific-purpose needs-crate-type over ignore-$target directives 2025-04-10 12:52:08 +08:00
redundant-semicolon Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
removed-lints Add naked_functions_rustic_abi feature gate 2025-04-07 21:42:12 +02:00
rfc-2383-lint-reason Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
rfc-2457-non-ascii-idents UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
semicolon-in-expressions-from-macros [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unknown-lints tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
unnecessary-qualification fixes #121331 2024-03-14 09:54:42 +08:00
unsafe_code Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
unused Rollup merge of #138632 - clubby789:stabilize-cfg-boolean-lit, r=davidtwco,Urgau,traviscross 2025-04-17 06:25:15 +02:00
use-redundant Introduce REDUNDANT_IMPORTS lint 2024-07-31 00:07:42 -04:00
ambiguous_wide_pointer_comparisons_suggestions.fixed Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect 2024-02-20 17:21:01 +00:00
ambiguous_wide_pointer_comparisons_suggestions.rs Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect 2024-02-20 17:21:01 +00:00
ambiguous_wide_pointer_comparisons_suggestions.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
anonymous-reexport.rs
anonymous-reexport.stderr Make early lints translatable 2024-05-21 20:16:39 +00:00
bad-lint-cap.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
bad-lint-cap.stderr
bad-lint-cap2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-lint-cap2.stderr
bad-lint-cap3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-lint-cap3.stderr
bare-trait-objects-path.rs
bare-trait-objects-path.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
break-with-label-and-unsafe-block.rs not lint break with label and unsafe block 2025-02-23 11:29:35 +08:00
clashing-extern-fn-issue-130851.rs Make clashing_extern_declarations considering generic args for ADT field 2024-09-27 16:37:43 +08:00
clashing-extern-fn-issue-130851.stderr Make clashing_extern_declarations considering generic args for ADT field 2024-09-27 16:37:43 +08:00
clashing-extern-fn-recursion.rs some fixes for clashing_extern_declarations lint 2024-09-13 11:51:17 +02:00
clashing-extern-fn-wasm.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
clashing-extern-fn.rs Handle pattern types wrapped in Option in FFI checks 2025-02-11 08:52:08 +00:00
clashing-extern-fn.stderr Hide the end of ranges in pretty printing if it's also the maximum of the type 2025-03-06 10:50:23 +00:00
cli-lint-override.forbid_warn.stderr Add test for extern without explicit ABI 2025-04-16 22:44:02 +03:00
cli-lint-override.force_warn_deny.stderr Add test for extern without explicit ABI 2025-04-16 22:44:02 +03:00
cli-lint-override.rs Add test for extern without explicit ABI 2025-04-16 22:44:02 +03:00
cli-lint-override.warn_deny.stderr Add test for extern without explicit ABI 2025-04-16 22:44:02 +03:00
cli-unknown-force-warn.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
cli-unknown-force-warn.stderr Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +00:00
command-line-lint-group-allow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-lint-group-deny.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-lint-group-deny.stderr
command-line-lint-group-forbid.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-lint-group-forbid.stderr Only suggest #[allow] for --warn and --deny lint level flags 2024-08-08 13:09:58 +00:00
command-line-lint-group-warn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-lint-group-warn.stderr
command-line-register-lint-tool.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-register-unknown-lint-tool.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
command-line-register-unknown-lint-tool.stderr Always run tail_expr_drop_order lint on promoted MIR 2024-12-23 20:25:41 +00:00
crate_level_only_lint.rs rustc_lint: Prevent multiple 'lint ignored' lints 2023-12-28 19:46:40 +01:00
crate_level_only_lint.stderr rustc_lint: Prevent multiple 'lint ignored' lints 2023-12-28 19:46:40 +01:00
deny-inside-forbid-ignored.cli_forbid.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-inside-forbid-ignored.cli_forbid_warnings.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-inside-forbid-ignored.rs Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-inside-forbid-ignored.source_only.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-overflowing-literals.rs
deny-overflowing-literals.stderr
dropping_copy_types-issue-125189-can-not-fixed.rs A small diagnostic improvement for dropping_copy_types 2024-05-24 19:31:57 +08:00
dropping_copy_types-issue-125189-can-not-fixed.stderr A small diagnostic improvement for dropping_copy_types 2024-05-24 19:31:57 +08:00
dropping_copy_types-issue-125189.fixed A small diagnostic improvement for dropping_copy_types 2024-05-24 19:31:57 +08:00
dropping_copy_types-issue-125189.rs A small diagnostic improvement for dropping_copy_types 2024-05-24 19:31:57 +08:00
dropping_copy_types-issue-125189.stderr A small diagnostic improvement for dropping_copy_types 2024-05-24 19:31:57 +08:00
dropping_copy_types-macros.fixed Fix handling of macro arguments within the `dropping_copy_types lint 2024-08-22 13:32:01 +02:00
dropping_copy_types-macros.rs Fix handling of macro arguments within the `dropping_copy_types lint 2024-08-22 13:32:01 +02:00
dropping_copy_types-macros.stderr Fix handling of macro arguments within the `dropping_copy_types lint 2024-08-22 13:32:01 +02:00
dropping_copy_types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dropping_copy_types.stderr Let lint_forgetting_references give the suggestion if possible 2024-05-29 17:40:34 +08:00
dropping_references-can-fixed.fixed Let lint_dropping_references give the suggestion if possible. 2024-05-29 16:53:28 +08:00
dropping_references-can-fixed.rs Let lint_dropping_references give the suggestion if possible. 2024-05-29 16:53:28 +08:00
dropping_references-can-fixed.stderr Let lint_dropping_references give the suggestion if possible. 2024-05-29 16:53:28 +08:00
dropping_references.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dropping_references.stderr Let lint_dropping_references give the suggestion if possible. 2024-05-29 16:53:28 +08:00
empty-lint-attributes.rs RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
enable-unstable-lib-feature.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enable-unstable-lib-feature.stderr
expansion-time-include.rs tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
expansion-time.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
expansion-time.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
expect-future_breakage-crash-issue-126521.rs Prevent ICE from expected future breakage 2024-06-25 22:32:46 +02:00
expect-future_breakage-crash-issue-126521.stderr Prevent ICE from expected future breakage 2024-06-25 22:32:46 +02:00
expect-unused-imports.rs Check AttrId for expectations. 2024-09-06 20:51:06 +00:00
expr-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expr_attr_paren_order.rs
expr_attr_paren_order.stderr
extern-C-fnptr-lints-slices.rs Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
extern-C-fnptr-lints-slices.stderr Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
fn-ptr-comparisons-134345.rs Fix trimmed_def_paths ICE in the function ptr comparison lint 2024-12-15 23:46:42 +01:00
fn-ptr-comparisons-some.rs Also lint on option of function pointer comparisons 2024-12-20 23:48:46 +01:00
fn-ptr-comparisons-some.stderr Also lint on option of function pointer comparisons 2024-12-20 23:48:46 +01:00
fn-ptr-comparisons-weird.rs Add warn-by-default lint against unpredictable fn pointer comparisons 2024-12-02 18:43:37 +01:00
fn-ptr-comparisons-weird.stderr Add warn-by-default lint against unpredictable fn pointer comparisons 2024-12-02 18:43:37 +01:00
fn-ptr-comparisons.fixed Add warn-by-default lint against unpredictable fn pointer comparisons 2024-12-02 18:43:37 +01:00
fn-ptr-comparisons.rs Add warn-by-default lint against unpredictable fn pointer comparisons 2024-12-02 18:43:37 +01:00
fn-ptr-comparisons.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
fn_must_use.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn_must_use.stderr
for_loop_over_fallibles.rs Fix article in test 2024-05-15 13:17:11 -05:00
for_loop_over_fallibles.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
forbid-always-trumps-cli.allow-first-group.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.allow-first-lint.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.allow-first-mix1.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.allow-first-mix2.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.forbid-first-group.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.forbid-first-lint.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.forbid-first-mix1.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.forbid-first-mix2.stderr extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-always-trumps-cli.rs extend group-forbid-always-trumps-cli test 2024-11-27 21:48:23 +01:00
forbid-error-capped.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
forbid-group-group-1.rs
forbid-group-group-1.stderr
forbid-group-group-2.rs rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
forbid-group-group-2.stderr show forbidden_lint_groups in future-compat reports 2024-11-27 15:27:41 +01:00
forbid-group-member.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
forbid-group-member.stderr show forbidden_lint_groups in future-compat reports 2024-11-27 15:27:41 +01:00
forbid-macro-with-deny.allow.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
forbid-macro-with-deny.rs Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
forbid-macro-with-deny.warn.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
forbid-member-group.rs rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
forbid-member-group.stderr rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
forgetting_copy_types-can-fixed.fixed Let lint_forgetting_copy_types give the suggestion if possible. 2024-05-29 16:53:37 +08:00
forgetting_copy_types-can-fixed.rs Let lint_forgetting_copy_types give the suggestion if possible. 2024-05-29 16:53:37 +08:00
forgetting_copy_types-can-fixed.stderr Let lint_forgetting_copy_types give the suggestion if possible. 2024-05-29 16:53:37 +08:00
forgetting_copy_types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
forgetting_copy_types.stderr Let lint_forgetting_references give the suggestion if possible 2024-05-29 17:40:34 +08:00
forgetting_references-can-fixed.fixed Let lint_forgetting_references give the suggestion if possible 2024-05-29 17:40:34 +08:00
forgetting_references-can-fixed.rs Let lint_forgetting_references give the suggestion if possible 2024-05-29 17:40:34 +08:00
forgetting_references-can-fixed.stderr Let lint_forgetting_references give the suggestion if possible 2024-05-29 17:40:34 +08:00
forgetting_references.rs Let lint_forgetting_references give the suggestion if possible 2024-05-29 17:40:34 +08:00
forgetting_references.stderr Let lint_forgetting_references give the suggestion if possible 2024-05-29 17:40:34 +08:00
function-item-references.rs Update tests. 2025-01-07 16:04:14 +01:00
function-item-references.stderr
future-incompat-json-test.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
future-incompat-json-test.stderr [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
future-incompat-test.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
future-incompat-test.stderr Do not point at #[allow(_)] as the reason for compat lint triggering 2024-02-13 20:27:43 +00:00
group-denied-lint-allowed.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
ice-array-into-iter-lint-issue-121532.rs Don't use unwrap() in ArrayIntoIter lint when typeck fails 2024-02-25 17:51:56 +05:30
ice-array-into-iter-lint-issue-121532.stderr Don't use unwrap() in ArrayIntoIter lint when typeck fails 2024-02-25 17:51:56 +05:30
ice-const-prop-unions-known-panics-lint-123710.rs Prohibit const prop of unions in KnownPanicsLint 2024-04-29 08:16:26 +05:30
ice-const-prop-unions-known-panics-lint-123710.stderr Prohibit const prop of unions in KnownPanicsLint 2024-04-29 08:16:26 +05:30
ice-unions-known-panics-lint-issue-121534.rs Do not const pop unions 2024-02-26 15:22:22 +05:30
improper_ctypes_definitions_ice_134060.rs Add regression test for #134060 2024-12-09 17:39:08 +08:00
improper_ctypes_definitions_ice_134060.stderr Add regression test for #134060 2024-12-09 17:39:08 +08:00
inclusive-range-pattern-syntax.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inclusive-range-pattern-syntax.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inclusive-range-pattern-syntax.stderr
inert-attr-macro.rs Stabilize cfg_boolean_literals 2025-04-03 18:10:48 +00:00
inert-attr-macro.stderr Stabilize cfg_boolean_literals 2025-04-03 18:10:48 +00:00
inline-exported.rs stabilize naked_functions 2025-04-20 11:18:38 +02:00
inline-exported.stderr stabilize naked_functions 2025-04-20 11:18:38 +02:00
inline-trait-and-foreign-items.rs
inline-trait-and-foreign-items.stderr
internal_features.rs update/bless tests 2025-04-06 21:41:47 +02:00
internal_features.stderr
invalid-nan-comparison-suggestion.fixed Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison-suggestion.rs Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison-suggestion.stderr Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison.rs Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison.stderr Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid_from_utf8.rs Fix false-positive in expr_or_init and in the invalid_from_utf8 lint 2025-03-11 21:56:53 +01:00
invalid_from_utf8.stderr Fix false-positive in expr_or_init and in the invalid_from_utf8 lint 2025-03-11 21:56:53 +01:00
invalid_null_args.rs Uplift clippy::invalid_null_ptr_usage as invalid_null_arguments 2025-03-30 19:33:15 +02:00
invalid_null_args.stderr Uplift clippy::invalid_null_ptr_usage as invalid_null_arguments 2025-03-30 19:33:15 +02:00
invalid_value-polymorphic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid_value.rs Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
invalid_value.stderr Update a bunch of library types for MCP807 2025-01-09 23:47:11 -08:00
issue-1866.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-1866.stderr tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-14837.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-17718-const-naming.rs
issue-17718-const-naming.stderr
issue-19102.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-20343.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-30302.rs
issue-30302.stderr Reword the "unreachable pattern" explanations 2024-08-19 21:39:57 +02:00
issue-35075.rs
issue-35075.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-47775-nested-macro-unnecessary-parens-arg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54099-camel-case-underscore-types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-57410-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-57410.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-63364.rs
issue-63364.stderr
issue-70819-dont-override-forbid-in-same-scope.rs Allow #[deny(..)] inside #[forbid(..)] as a no-op with a warning 2024-10-18 18:18:41 +02:00
issue-70819-dont-override-forbid-in-same-scope.stderr show forbidden_lint_groups in future-compat reports 2024-11-27 15:27:41 +01:00
issue-79744.rs
issue-79744.stderr
issue-81218.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83477.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83477.stderr
issue-87274-paren-parent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87274-paren-parent.stderr
issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97094.rs
issue-97094.stderr
issue-99387.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
issue-99387.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
issue-101284.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102705.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-103317.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-103317.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-103317.stderr
issue-103435-extra-parentheses.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-103435-extra-parentheses.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-103435-extra-parentheses.stderr
issue-104392.rs
issue-104392.stderr Reword suggestion message 2024-11-16 20:03:31 +00:00
issue-104897.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
issue-104897.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
issue-106991.rs Shorten error message for callable with wrong return type 2025-02-02 01:00:33 +00:00
issue-106991.stderr Shorten error message for callable with wrong return type 2025-02-02 01:00:33 +00:00
issue-108155.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-109152.rs
issue-109152.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-109529.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-109529.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-109529.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-110573.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-111359.rs
issue-111359.stderr
issue-112489.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-117949.noopt.stderr Enable ConstPropLint for promoteds 2024-02-17 10:44:46 +05:30
issue-117949.opt.stderr Enable ConstPropLint for promoteds 2024-02-17 10:44:46 +05:30
issue-117949.opt_with_overflow_checks.stderr Enable ConstPropLint for promoteds 2024-02-17 10:44:46 +05:30
issue-117949.rs Enable ConstPropLint for promoteds 2024-02-17 10:44:46 +05:30
issue-121070-let-range.rs Remove let_chains feature gate from even more tests 2025-04-18 15:57:29 +02:00
linker-warning-bin.rs warn on unused linker_messages warning attributes 2025-01-20 16:46:00 -05:00
linker-warning.rs warn on unused linker_messages warning attributes 2025-01-20 16:46:00 -05:00
linker-warning.stderr Fix lint name in unused linker_messages warning 2025-03-21 13:59:29 +00:00
lint-attr-everywhere-early.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
lint-attr-everywhere-early.stderr
lint-attr-everywhere-late.rs
lint-attr-everywhere-late.stderr Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04:00
lint-attr-non-item-node.rs
lint-attr-non-item-node.stderr
lint-cap-trait-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-cap.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-change-warnings.rs
lint-change-warnings.stderr
lint-const-item-mutation.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-const-item-mutation.stderr Improve find_self_call with reborrowed receiver 2025-01-06 03:17:04 +00:00
lint-ctypes-66202.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ctypes-73249-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ctypes-73249-2.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73249-2.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73249-3.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73249-3.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73249-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ctypes-73249-5.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73249-5.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73249.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ctypes-73251-1.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73251-1.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73251-2.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73251-2.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73251.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
lint-ctypes-73747.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ctypes-94223.rs
lint-ctypes-94223.stderr Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
lint-ctypes-113436-1.rs
lint-ctypes-113436-1.stderr
lint-ctypes-113436.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ctypes-113900.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ctypes-cstr.rs Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
lint-ctypes-cstr.stderr Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
lint-ctypes-enum.rs Add ffi tests for pattern types 2025-02-11 08:30:35 +00:00
lint-ctypes-enum.stderr Add ffi tests for pattern types 2025-02-11 08:30:35 +00:00
lint-ctypes-fn.rs Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
lint-ctypes-fn.stderr Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
lint-ctypes-non-recursion-limit.rs Add a test 2024-09-23 12:55:56 -04:00
lint-ctypes-option-nonnull-unsized.rs
lint-ctypes-option-nonnull-unsized.stderr
lint-ctypes.rs Update tests. 2025-01-07 16:04:14 +01:00
lint-ctypes.stderr Update tests. 2025-01-07 16:04:14 +01:00
lint-deref-nullptr.rs Don't emit null pointer lint for raw ref of null deref 2024-10-06 22:36:51 -04:00
lint-deref-nullptr.stderr Don't emit null pointer lint for raw ref of null deref 2024-10-06 22:36:51 -04:00
lint-directives-on-use-items-issue-10534.rs
lint-directives-on-use-items-issue-10534.stderr
lint-double-negations.rs implement lint double_negations 2025-01-26 12:18:33 +01:00
lint-double-negations.stderr implement lint double_negations 2025-01-26 12:18:33 +01:00
lint-enum-intrinsics-non-enums.rs
lint-enum-intrinsics-non-enums.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
lint-expr-stmt-attrs-for-early-lints.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-ffi-safety-all-phantom.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-forbid-attr.rs rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
lint-forbid-attr.stderr rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
lint-forbid-cmdline.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-forbid-cmdline.stderr rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
lint-forbid-internal-unsafe.rs
lint-forbid-internal-unsafe.stderr
lint-group-nonstandard-style.rs
lint-group-nonstandard-style.stderr
lint-impl-fn.rs
lint-impl-fn.stderr
lint-incoherent-auto-trait-objects.rs Turn order dependent trait objects future incompat warning into a hard error 2025-02-20 13:39:39 +00:00
lint-incoherent-auto-trait-objects.stderr Turn order dependent trait objects future incompat warning into a hard error 2025-02-20 13:39:39 +00:00
lint-invalid-atomic-ordering-bool.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-bool.stderr
lint-invalid-atomic-ordering-exchange-weak.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-exchange-weak.stderr
lint-invalid-atomic-ordering-exchange.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-exchange.stderr
lint-invalid-atomic-ordering-false-positive.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-fence.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-fence.stderr
lint-invalid-atomic-ordering-fetch-update.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-fetch-update.stderr
lint-invalid-atomic-ordering-int.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-int.stderr
lint-invalid-atomic-ordering-ptr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-ptr.stderr
lint-invalid-atomic-ordering-uint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-invalid-atomic-ordering-uint.stderr
lint-level-macro-def-mod.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-level-macro-def.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-lowercase-static-const-pattern-rename.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-lowercase-static-const-pattern.rs
lint-lowercase-static-const-pattern.stderr
lint-malformed.rs Always run tail_expr_drop_order lint on promoted MIR 2024-12-23 20:25:41 +00:00
lint-malformed.stderr Always run tail_expr_drop_order lint on promoted MIR 2024-12-23 20:25:41 +00:00
lint-match-arms-2.rs
lint-match-arms-2.stderr Remove hir::Guard 2024-01-05 10:56:59 +00:00
lint-match-arms.rs
lint-match-arms.stderr
lint-misplaced-attr.rs
lint-misplaced-attr.stderr
lint-missing-copy-implementations-allow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-missing-copy-implementations.rs
lint-missing-copy-implementations.stderr
lint-missing-doc-crate.rs Add test about missing docs at crate level 2024-09-09 14:51:39 +02:00
lint-missing-doc-crate.stderr Add test about missing docs at crate level 2024-09-09 14:51:39 +02:00
lint-missing-doc-expect.rs Don't allow test revisions that conflict with built in cfgs 2024-10-23 18:05:27 +00:00
lint-missing-doc-test.rs Use doc(hidden) instead of allow(missing_docs) in the test harness 2024-09-11 12:14:35 +02:00
lint-missing-doc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-missing-doc.stderr Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04:00
lint-non-camel-case-types.rs
lint-non-camel-case-types.stderr
lint-non-camel-case-variant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-non-camel-case-with-trailing-underscores.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
lint-non-uppercase-associated-const.rs
lint-non-uppercase-associated-const.stderr
lint-non-uppercase-statics.rs
lint-non-uppercase-statics.stderr
lint-non-uppercase-trait-assoc-const.rs
lint-non-uppercase-trait-assoc-const.stderr
lint-nonstandard-style-unicode-1.rs
lint-nonstandard-style-unicode-1.stderr
lint-nonstandard-style-unicode-3.rs
lint-nonstandard-style-unicode-3.stderr
lint-output-format-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-output-format-2.stderr
lint-output-format.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-output-format.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-overflowing-int-136675.rs Fix unwrap error in overflowing int literal 2025-02-09 20:39:43 +08:00
lint-overflowing-int-136675.stderr Fix unwrap error in overflowing int literal 2025-02-09 20:39:43 +08:00
lint-overflowing-ops.noopt.stderr promotion: don't promote int::MIN / -1 2024-02-24 12:17:37 +01:00
lint-overflowing-ops.opt.stderr promotion: don't promote int::MIN / -1 2024-02-24 12:17:37 +01:00
lint-overflowing-ops.opt_with_overflow_checks.stderr promotion: don't promote int::MIN / -1 2024-02-24 12:17:37 +01:00
lint-overflowing-ops.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
lint-pre-expansion-extern-module.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
lint-pre-expansion-extern-module.stderr Deny gen keyword in edition_2024_compat lints 2024-04-22 11:51:50 -04:00
lint-pub-unreachable-for-nested-glob.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-qualification.fixed Ignore paths from expansion in unused_qualifications 2024-03-20 16:30:26 +00:00
lint-qualification.rs Ignore paths from expansion in unused_qualifications 2024-03-20 16:30:26 +00:00
lint-qualification.stderr Don't trigger unused_qualifications on global paths 2024-03-15 14:59:05 +00:00
lint-range-endpoint-overflow.rs
lint-range-endpoint-overflow.stderr
lint-removed-allow.rs
lint-removed-allow.stderr
lint-removed-cmdline-deny.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-removed-cmdline-deny.stderr UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-removed-cmdline.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-removed-cmdline.stderr UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-removed.rs
lint-removed.stderr
lint-renamed-allow.rs
lint-renamed-allow.stderr
lint-renamed-cmdline-deny.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-renamed-cmdline-deny.stderr UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-renamed-cmdline.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-renamed-cmdline.stderr UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-renamed.rs
lint-renamed.stderr
lint-shorthand-field.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-shorthand-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-shorthand-field.stderr
lint-stability-2.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability-2.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability-deprecated.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability-deprecated.stderr Stop using hir_ty_to_ty in rustc_privacy 2024-02-07 14:59:26 +00:00
lint-stability-fields-deprecated.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability-fields-deprecated.stderr
lint-stability-fields.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability-fields.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability2.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
lint-stability2.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
lint-stability3.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
lint-stability3.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
lint-strict-provenance-fuzzy-casts.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
lint-strict-provenance-fuzzy-casts.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
lint-strict-provenance-lossy-casts.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
lint-strict-provenance-lossy-casts.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
lint-struct-necessary.rs
lint-struct-necessary.stderr
lint-type-limits.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-type-limits.stderr
lint-type-limits2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-type-limits2.stderr
lint-type-limits3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-type-limits3.stderr
lint-type-overflow.rs
lint-type-overflow.stderr
lint-type-overflow2.rs implement lint double_negations 2025-01-26 12:18:33 +01:00
lint-type-overflow2.stderr implement lint double_negations 2025-01-26 12:18:33 +01:00
lint-unconditional-drop-recursion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unconditional-drop-recursion.stderr
lint-unconditional-recursion-tail-calls.rs Fix unconditional recursion lint wrt tail calls 2024-07-07 17:11:05 +02:00
lint-unconditional-recursion-tail-calls.stderr Fix unconditional recursion lint wrt tail calls 2024-07-07 17:11:05 +02:00
lint-unconditional-recursion.rs
lint-unconditional-recursion.stderr
lint-unexported-no-mangle.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
lint-unexported-no-mangle.stderr Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +00:00
lint-unknown-feature-default.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unknown-feature.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unknown-lint-cmdline-allow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unknown-lint-cmdline-deny.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-unknown-lint-cmdline-deny.stderr Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +00:00
lint-unknown-lint-cmdline.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
lint-unknown-lint-cmdline.stderr Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +00:00
lint-unknown-lint.rs
lint-unknown-lint.stderr
lint-unnecessary-import-braces.rs
lint-unnecessary-import-braces.stderr
lint-unnecessary-parens.fixed stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
lint-unnecessary-parens.rs stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
lint-unnecessary-parens.stderr stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
lint-unsafe-code.rs
lint-unsafe-code.stderr
lint_map_unit_fn.rs
lint_map_unit_fn.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
lint_pre_expansion_extern_module_aux.rs tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
lints-in-foreign-macros.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
lints-in-foreign-macros.stderr Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00:00
lints-on-stmt-not-overridden-130142.rs Fix lint levels not getting overridden by attrs on Stmt nodes 2024-09-14 16:12:00 +05:30
missing-copy-implementations-negative-copy.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-copy-implementations-non-exhaustive.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-doc-private-macro.rs
missing-doc-private-macro.stderr
missing_copy_impl_trivial_bounds.rs Use correct param-env in MissingCopyImplementations 2024-05-22 12:46:08 -04:00
negative_literals.rs Temporarily switch ambiguous_negative_literals lint to allow 2024-07-31 19:36:47 +02:00
negative_literals.stderr Temporarily switch ambiguous_negative_literals lint to allow 2024-07-31 19:36:47 +02:00
noop-method-call.rs When encountering <&T as Clone>::clone(x) because T: Clone, suggest #[derive(Clone)] 2024-02-22 18:01:20 +00:00
noop-method-call.stderr When encountering <&T as Clone>::clone(x) because T: Clone, suggest #[derive(Clone)] 2024-02-22 18:01:20 +00:00
not_found.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
not_found.stderr
opaque-ty-ffi-normalization-cycle.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
opaque-ty-ffi-normalization-cycle.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
opaque-ty-ffi-unsafe.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
opaque-ty-ffi-unsafe.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
outer-forbid.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
outer-forbid.stderr show forbidden_lint_groups in future-compat reports 2024-11-27 15:27:41 +01:00
ptr_null_checks.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ptr_null_checks.stderr Stabilize ptr::{from_ref, from_mut} 2023-12-15 08:34:59 -08:00
reasons-erroneous.rs Remove the box_pointers lint. 2024-06-27 08:55:28 +10:00
reasons-erroneous.stderr Remove the box_pointers lint. 2024-06-27 08:55:28 +10:00
reasons-forbidden.rs RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
reasons-forbidden.stderr RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
reasons.rs RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
reasons.stderr RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
recommend-literal.rs
recommend-literal.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
reference_casting.rs Handle Deref expressions in invalid_reference_casting 2024-05-10 12:33:07 -04:00
reference_casting.stderr Fixed typos by changing happend to happened 2024-12-01 11:31:09 +13:00
register-tool-lint.rs
register-tool-lint.stderr
renamed-lints-still-apply.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
renamed-lints-still-apply.stderr
rust-cold-fn-accept-improper-ctypes.rs compiler: Accept "improper" ctypes in extern "rust-cold" fn 2024-09-21 08:59:52 -07:00
rustdoc-group.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rustdoc-group.stderr
rustdoc-renamed.rs
rustdoc-renamed.stderr
special-upper-lower-cases.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
special-upper-lower-cases.stderr
static-mut-refs.e2021.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
static-mut-refs.e2024.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
static-mut-refs.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
suggestions.fixed If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
suggestions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggestions.stderr Special case when a code line only has multiline span starts 2024-06-23 22:00:52 +00:00
suspicious-double-ref-op.rs Stabilize LazyCell and LazyLock (lazy_cell) 2024-02-20 20:55:13 -07:00
suspicious-double-ref-op.stderr Stabilize LazyCell and LazyLock (lazy_cell) 2024-02-20 20:55:13 -07:00
test-allow-dead-extern-static-no-warning.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
test-inner-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
test-inner-fn.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
trivial-cast-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trivial-casts-featuring-type-ascription.rs
trivial-casts-featuring-type-ascription.stderr
trivial-casts.rs
trivial-casts.stderr
trivial_casts.rs
trivial_casts.stderr
type-overflow.rs fix: fix overflowing hex wrong suggestion 2025-02-28 07:25:52 +05:30
type-overflow.stderr fix: fix overflowing hex wrong suggestion 2025-02-28 07:25:52 +05:30
unaligned_references.current.stderr Normalize struct tail properly in disalignment check 2024-08-08 11:58:11 -04:00
unaligned_references.next.stderr Normalize struct tail properly in disalignment check 2024-08-08 11:58:11 -04:00
unaligned_references.rs Normalize struct tail properly in disalignment check 2024-08-08 11:58:11 -04:00
unaligned_references_external_macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unaligned_references_external_macro.stderr
unaligned_references_fake_borrow.rs Ignore fake borrows for packed field check 2025-02-21 17:50:11 +00:00
unconditional_panic_98444.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unconditional_panic_98444.stderr
unconditional_panic_promoted.rs Fix some typos 2024-12-24 11:35:38 +08:00
unconditional_panic_promoted.stderr Compute array length from type for unconditional panic. 2024-10-05 00:19:26 +00:00
undropped_manually_drops.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
undropped_manually_drops.stderr
unit_bindings.deny_level.stderr unit_bindings: improve test coverage 2024-10-21 21:33:33 +08:00
unit_bindings.rs unit_bindings: improve test coverage 2024-10-21 21:33:33 +08:00
unknown-lints-at-crate-level.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
unnecessary-extern-crate.rs Handle a few more simple tests 2024-05-20 11:13:10 -04:00
unnecessary-extern-crate.stderr Handle a few more simple tests 2024-05-20 11:13:10 -04:00
unqualified_local_imports.rs replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
unqualified_local_imports.stderr add unqualified_local_imports lint 2024-09-23 11:57:28 +02:00
unreachable-async-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable_pub.fixed Prefer pub(super) in unreachable_pub lint suggestion 2024-11-04 19:09:40 +01:00
unreachable_pub.rs Prefer pub(super) in unreachable_pub lint suggestion 2024-11-04 19:09:40 +01:00
unreachable_pub.stderr Prefer pub(super) in unreachable_pub lint suggestion 2024-11-04 19:09:40 +01:00
unused-borrows.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
unused-borrows.stderr
unused-braces-while-let-with-mutable-value.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-qualification-in-derive-expansion.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
unused-qualifications-global-paths.rs Don't trigger unused_qualifications on global paths 2024-03-15 14:59:05 +00:00
unused_braces.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_braces.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_braces.stderr
unused_braces_borrow.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_braces_borrow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_braces_borrow.stderr
unused_braces_macro.rs Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02:00
unused_import_warning_issue_45268.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_import_warning_issue_45268.stderr
unused_labels.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_labels.stderr
unused_parens_json_suggestion.fixed Adding BreakValue to UnusedDelimsCtx to make UnusedParens and UnusedBraces checking break 2024-11-14 09:08:56 +08:00
unused_parens_json_suggestion.rs Adding BreakValue to UnusedDelimsCtx to make UnusedParens and UnusedBraces checking break 2024-11-14 09:08:56 +08:00
unused_parens_json_suggestion.stderr Adding BreakValue to UnusedDelimsCtx to make UnusedParens and UnusedBraces checking break 2024-11-14 09:08:56 +08:00
unused_parens_multibyte_recovery.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
unused_parens_multibyte_recovery.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
unused_parens_remove_json_suggestion.fixed Adding BreakValue to UnusedDelimsCtx to make UnusedParens and UnusedBraces checking break 2024-11-14 09:08:56 +08:00
unused_parens_remove_json_suggestion.rs Adding BreakValue to UnusedDelimsCtx to make UnusedParens and UnusedBraces checking break 2024-11-14 09:08:56 +08:00
unused_parens_remove_json_suggestion.stderr Adding BreakValue to UnusedDelimsCtx to make UnusedParens and UnusedBraces checking break 2024-11-14 09:08:56 +08:00
unused_variables-issue-82488.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_variables-issue-82488.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_variables-issue-82488.stderr
use_suggestion_json.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use_suggestion_json.stderr Add multi-producer, multi-consumer channel (mpmc) 2024-09-30 20:43:51 +03:00
warn-ctypes-inhibit.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
warn-path-statement.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
warn-path-statement.stderr
warn-unused-inline-on-fn-prototypes.rs
warn-unused-inline-on-fn-prototypes.stderr
wasm_c_abi_transition.rs Ignore zero-sized types in wasm future-compat warning 2025-04-17 07:42:55 -07:00
wasm_c_abi_transition.stderr add FCW to warn about wasm ABI transition 2025-03-25 08:22:35 +01:00
wide_pointer_comparisons.rs Add support for NonNull in ambiguous_wide_ptr_comparisions 2024-03-29 22:02:07 +01:00
wide_pointer_comparisons.stderr Use underline suggestions for purely 'additive' replacements 2025-02-14 00:27:13 -08:00