rust/tests/ui/lint
bors 47dd709bed Auto merge of #121123 - compiler-errors:item-assumptions, r=oli-obk
Split an item bounds and an item's super predicates

This is the moral equivalent of #107614, but instead for predicates this applies to **item bounds**. This PR splits out the item bounds (i.e. *all* predicates that are assumed to hold for the alias) from the item *super predicates*, which are the subset of item bounds which share the same self type as the alias.

## Why?

Much like #107614, there are places in the compiler where we *only* care about super-predicates, and considering predicates that possibly don't have anything to do with the alias is problematic. This includes things like closure signature inference (which is at its core searching for `Self: Fn(..)` style bounds), but also lints like `#[must_use]`, error reporting for aliases, computing type outlives predicates.

Even in cases where considering all of the `item_bounds` doesn't lead to bugs, unnecessarily considering irrelevant bounds does lead to a regression (#121121) due to doing extra work in the solver.

## Example 1 - Trait Aliases

This is best explored via an example:

```
type TAIT<T> = impl TraitAlias<T>;

trait TraitAlias<T> = A + B where T: C;
```

The item bounds list for `Tait<T>` will include:
* `Tait<T>: A`
* `Tait<T>: B`
* `T: C`

While `item_super_predicates` query will include just the first two predicates.

Side-note: You may wonder why `T: C` is included in the item bounds for `TAIT`? This is because when we elaborate `TraitAlias<T>`, we will also elaborate all the predicates on the trait.

## Example 2 - Associated Type Bounds

```
type TAIT<T> = impl Iterator<Item: A>;
```

The `item_bounds` list for `TAIT<T>` will include:
* `Tait<T>: Iterator`
* `<Tait<T> as Iterator>::Item: A`

But the `item_super_predicates` will just include the first bound, since that's the only bound that is relevant to the *alias* itself.

## So what

This leads to some diagnostics duplication just like #107614, but none of it will be user-facing. We only see it in the UI test suite because we explicitly disable diagnostic deduplication.

Regarding naming, I went with `super_predicates` kind of arbitrarily; this can easily be changed, but I'd consider better names as long as we don't block this PR in perpetuity.
2024-03-21 06:12:24 +00:00
..
auxiliary Add cargo update suggestion for non local defs 2024-02-17 14:00:08 +01:00
dead-code Detect unused struct impls pub trait 2024-03-10 23:30:53 +08:00
decorate-ice Invoke decorate when error level is beyond warning, including error 2024-03-17 14:41:37 +00:00
force-warn [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
internal [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
known-tool-in-submodule [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
large_assignments [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
let_underscore [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
must_not_suspend Detect allocator for box in must_not_suspend lint 2024-03-18 14:12:28 -04:00
redundant-semicolon [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rfc-2383-lint-reason [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rfc-2457-non-ascii-idents separate messages for individual categories 2024-02-26 10:09:03 +08:00
semicolon-in-expressions-from-macros [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unknown-lints [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unnecessary-qualification fixes #121331 2024-03-14 09:54:42 +08:00
unsafe_code trigger unsafe_code on global_asm! invocations 2024-02-20 00:14:53 +01:00
unused Split item bounds and item super predicates 2024-03-20 13:00:34 -04:00
use-redundant add test for #71450 2024-03-05 10:45:09 +08: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 Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect 2024-02-20 17:21:01 +00:00
anonymous-reexport.rs Update anonymous-reexport UI test 2023-03-22 16:05:20 +01:00
anonymous-reexport.stderr Update anonymous-reexport UI test 2023-03-22 16:05:20 +01:00
bad-lint-cap2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-lint-cap2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-lint-cap3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-lint-cap3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lint-cap.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-lint-cap.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-trait-objects-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-trait-objects-path.stderr Be less confident when dyn suggestion is not checked for object safety 2024-02-09 20:47:50 -08:00
clashing-extern-fn-recursion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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 Use generic NonZero in tests. 2024-02-25 12:03:48 +01:00
clashing-extern-fn.stderr Fix lint. 2024-03-10 13:18:07 +01:00
cli-lint-override.forbid_warn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cli-lint-override.force_warn_deny.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cli-lint-override.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cli-lint-override.warn_deny.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cli-unknown-force-warn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cli-unknown-force-warn.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Add help to allow lint for the implied by suggestion 2023-09-04 14:21:38 +02:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-register-unknown-lint-tool.stderr Add a note to duplicate diagnostics 2023-10-05 01:04: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-overflowing-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deny-overflowing-literals.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Rename drop_ref lint to dropping_references 2023-05-21 14:16:41 +02:00
dropping_references.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dropping_references.stderr Rename drop_ref lint to dropping_references 2023-05-21 14:16:41 +02:00
empty-lint-attributes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expansion-time-include.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expansion-time.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expansion-time.stderr make soft_unstable show up in future breakage reports 2023-09-29 21:56:57 +02:00
expr_attr_paren_order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_attr_paren_order.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expr-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00
for_loop_over_fallibles.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
for_loop_over_fallibles.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-group-group-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +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 rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01: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.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
forgetting_copy_types.stderr Rename forget_ref lint to forgetting_references 2023-05-21 14:28:09 +02:00
forgetting_references.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
forgetting_references.stderr Rename forget_ref lint to forgetting_references 2023-05-21 14:28:09 +02:00
function-item-references.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
function-item-references.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
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-unions-known-panics-lint-issue-121534.rs Do not const pop unions 2024-02-26 15:22:22 +05:30
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inert-attr-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inert-attr-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline-trait-and-foreign-items.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
inline-trait-and-foreign-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
internal_features.rs lib features ending in '_internals?' are internal 2023-11-21 08:00:26 +01:00
internal_features.stderr lib features ending in '_internals?' are internal 2023-11-21 08:00:26 +01:00
invalid_from_utf8.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid_from_utf8.stderr Improve invalid UTF-8 lint by finding the expression initializer 2023-09-21 10:16:29 +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 Use generic NonZero in tests. 2024-02-25 12:03:48 +01:00
invalid_value.stderr Fix lint. 2024-03-14 17:34:57 +01:00
invalid-nan-comparison-suggestion.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-nan-comparison-suggestion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-nan-comparison-suggestion.stderr Uplift improved version of clippy::cmp_nan to rustc 2023-06-10 11:12:55 +02:00
invalid-nan-comparison.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-nan-comparison.stderr Avoid invalid NaN lint machine-applicable suggestion in const context 2023-08-05 23:54:59 +02:00
issue-1866.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-1866.stderr Bless ui tests. 2023-08-04 16:09:13 +00:00
issue-14309.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14309.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14837.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-17718-const-naming.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-const-naming.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-19102.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-20343.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-30302.rs Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
issue-30302.stderr Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
issue-31924-non-snake-ffi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-34798.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-35075.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35075.stderr Move /src/test to /tests 2023-01-11 09:32:08 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-63364.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-66362-no-snake-case-warning-for-field-puns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66362-no-snake-case-warning-for-field-puns.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70819-dont-override-forbid-in-same-scope.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-70819-dont-override-forbid-in-same-scope.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-79546-fuel-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-79744.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79744.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-80988.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-80988.stderr rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-89469.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97094.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99387.rs Make DefiningAnchor::Bind only store the opaque types that may be constrained, instead of the current infcx root item. 2024-03-11 17:19:37 +00:00
issue-99387.stderr Make DefiningAnchor::Bind only store the opaque types that may be constrained, instead of the current infcx root item. 2024-03-11 17:19:37 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Change how for (x in foo) {} is handled 2023-11-29 18:47:32 +00:00
issue-104392.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104392.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104897.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-104897.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-106991.rs Add ui test for E0271 error 2023-02-23 13:57:13 +03:00
issue-106991.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-108155.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-109152.rs Fix #109152, fix the scenario that we may can not get span of func 2023-03-15 14:07:39 +08:00
issue-109152.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 add run-rustfix 2023-03-29 09:56:28 +08:00
issue-110573.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-111359.rs Populate effective visibilities in rustc_privacy 2023-05-11 14:51:01 +03:00
issue-111359.stderr Make MissingDebugImplementation a module lint. 2023-08-04 16:09:14 +00:00
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_with_overflow_checks.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.rs Enable ConstPropLint for promoteds 2024-02-17 10:44:46 +05:30
issue-121070-let-range.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint_map_unit_fn.rs Add ui test for map_unit_fn lint in closure case 2023-02-23 13:57:13 +03:00
lint_map_unit_fn.stderr Add ui test for map_unit_fn lint in closure case 2023-02-23 13:57:13 +03:00
lint_pre_expansion_extern_module_aux.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-attr-everywhere-early.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
lint-attr-everywhere-early.stderr Consider lint check attributes on match arms in late lints 2023-05-19 19:04:10 +09:00
lint-attr-everywhere-late.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
lint-attr-everywhere-late.stderr Make MissingDoc a module lint. 2023-08-04 16:09:14 +00:00
lint-attr-non-item-node.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-attr-non-item-node.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-change-warnings.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +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 Add AliasKind::Weak for type aliases. 2023-06-16 19:39:48 +00:00
lint-ctypes-73249-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-ctypes-73249-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-5.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Add AliasKind::Weak for type aliases. 2023-06-16 19:39:48 +00:00
lint-ctypes-73251-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-ctypes-73251-2.rs Add AliasKind::Weak for type aliases. 2023-06-16 19:39:48 +00:00
lint-ctypes-73251-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-ctypes-73251.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 Fix ICE in improper_ctypes_definitions lint 2023-09-09 12:30:25 +05:30
lint-ctypes-94223.stderr Fix ICE in improper_ctypes_definitions lint 2023-09-09 12:30:25 +05:30
lint-ctypes-113436-1.rs lint/ctypes: allow () within types 2023-07-19 09:59:04 +01:00
lint-ctypes-113436-1.stderr lint/ctypes: allow () within types 2023-07-19 09:59:04 +01:00
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-enum.rs Use generic NonZero in tests. 2024-02-25 12:03:48 +01:00
lint-ctypes-enum.stderr Fix lint. 2024-03-10 13:18:07 +01:00
lint-ctypes-fn.rs Replace old private-in-public diagnostic with type privacy lints 2023-08-02 13:40:28 +03:00
lint-ctypes-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-option-nonnull-unsized.rs Don't ICE when computing ctype's repr_nullable_ptr for possibly-unsized ty 2023-09-07 06:04:37 +00:00
lint-ctypes-option-nonnull-unsized.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-ctypes.rs Replace old private-in-public diagnostic with type privacy lints 2023-08-02 13:40:28 +03:00
lint-ctypes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-deref-nullptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-deref-nullptr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-directives-on-use-items-issue-10534.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-directives-on-use-items-issue-10534.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-enum-intrinsics-non-enums.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-enum-intrinsics-non-enums.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-forbid-internal-unsafe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-group-nonstandard-style.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-group-nonstandard-style.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-impl-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-impl-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-incoherent-auto-trait-objects.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-incoherent-auto-trait-objects.stderr Move /src/test to /tests 2023-01-11 09:32:08 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-lowercase-static-const-pattern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-malformed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-malformed.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
lint-match-arms-2.rs Consider lint check attributes on match arms in match checks 2023-05-19 19:04:15 +09:00
lint-match-arms-2.stderr Remove hir::Guard 2024-01-05 10:56:59 +00:00
lint-match-arms.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-match-arms.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-misplaced-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-misplaced-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-missing-copy-implementations.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Make MissingDoc a module lint. 2023-08-04 16:09:14 +00:00
lint-non-camel-case-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-camel-case-types.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-non-snake-case-crate-bin2.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-bin3.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-bin.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-cdylib.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-cdylib.stderr Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-dylib.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-dylib.stderr Ignore wasm in dylib/proc-macro crate type tests 2024-03-02 11:49:36 +00:00
lint-non-snake-case-crate-lib.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-lib.stderr Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-proc-macro.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-proc-macro.stderr Ignore wasm in dylib/proc-macro crate type tests 2024-03-02 11:49:36 +00:00
lint-non-snake-case-crate-rlib.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-rlib.stderr Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-staticlib.rs Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-crate-staticlib.stderr Only run lint tests on x86_64-unknown-linux-gnu 2024-03-03 13:58:35 +00:00
lint-non-snake-case-functions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-functions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-identifiers-suggestion-reserved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-identifiers-suggestion-reserved.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-lifetimes.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-non-snake-case-modules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-modules.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-non-snake-case-no-lowercase-equivalent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-non-uppercase-associated-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-uppercase-associated-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-non-uppercase-statics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-uppercase-statics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-uppercase-trait-assoc-const.rs make non_upper_case_globals lint not report trait impls 2023-04-19 12:47:35 +12:00
lint-non-uppercase-trait-assoc-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-nonstandard-style-unicode-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-output-format.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-output-format.stderr Bless tests 2024-01-13 12:46:58 -05: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_with_overflow_checks.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.rs promotion: don't promote int::MIN / -1 2024-02-24 12:17:37 +01:00
lint-owned-heap-memory.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-owned-heap-memory.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-pre-expansion-extern-module.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-pre-expansion-extern-module.stderr Add help to allow lint for the implied by suggestion 2023-09-04 14:21:38 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-range-endpoint-overflow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed-allow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed-allow.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-removed-cmdline-deny.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-removed-cmdline-deny.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
lint-removed-cmdline.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-removed-cmdline.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-removed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-renamed-allow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed-allow.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-renamed-cmdline-deny.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-renamed-cmdline-deny.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
lint-renamed-cmdline.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-renamed-cmdline.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-renamed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-stability3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-stability-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability-2.stderr Bless tests 2024-01-13 12:46:58 -05: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability-fields.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability-fields.stderr Bless tests 2024-01-13 12:46:58 -05:00
lint-stability.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-stability.stderr Bless tests 2024-01-13 12:46:58 -05:00
lint-strict-provenance-fuzzy-casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-strict-provenance-fuzzy-casts.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-strict-provenance-lossy-casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-strict-provenance-lossy-casts.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-struct-necessary.rs match scrutinee need necessary parentheses for structs 2023-08-14 18:05:13 +08:00
lint-struct-necessary.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-temporary-cstring-as-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-temporary-cstring-as-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-temporary-cstring-as-ptr.rs Do not suppress temporary_cstring_as_ptr in macros. 2023-04-04 18:55:02 +00:00
lint-temporary-cstring-as-ptr.stderr Do not suppress temporary_cstring_as_ptr in macros. 2023-04-04 18:55:02 +00:00
lint-type-limits2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-type-limits2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-type-limits3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-type-limits3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-type-limits.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-type-limits.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-overflow2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-type-overflow2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-overflow.stderr Fix span of overflow lint for negated literals 2023-10-11 04:55:55 +02: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-unconditional-recursion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unconditional-recursion.stderr Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
lint-unexported-no-mangle.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unexported-no-mangle.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unknown-lint-cmdline-deny.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
lint-unknown-lint-cmdline.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unknown-lint-cmdline.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
lint-unknown-lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unknown-lint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unnecessary-import-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unnecessary-import-braces.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-unnecessary-parens.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unnecessary-parens.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unnecessary-parens.stderr Fix missing leading space in suggestion 2023-10-30 19:04:55 +05:30
lint-unsafe-code.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unsafe-code.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-uppercase-variables.rs Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
lint-uppercase-variables.stderr Run check_match and check_liveness when MIR is built instead of having an explicit phase for them 2023-04-21 22:32:38 +00:00
lints-in-foreign-macros.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lints-in-foreign-macros.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-doc-private-macro.stderr Make MissingDoc a module lint. 2023-08-04 16:09:14 +00:00
no-coverage.rs Rename the feature, but not the attribute, to coverage_attribute 2023-09-08 12:46:09 +01:00
no-coverage.stderr Rework no_coverage to coverage(off) 2023-09-08 12:46:06 +01:00
non_local_definitions.rs Use was_invoked_from_cargo method instead of hand-written one 2024-03-07 07:54:15 +01:00
non_local_definitions.stderr Add some weird test cases to the non_local_definitions lint tests 2024-03-07 07:54:14 +01: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opaque-ty-ffi-normalization-cycle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opaque-ty-ffi-normalization-cycle.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
opaque-ty-ffi-unsafe.rs Add AliasKind::Weak for type aliases. 2023-06-16 19:39:48 +00:00
opaque-ty-ffi-unsafe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
outer-forbid.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
outer-forbid.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reasons-erroneous.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
reasons-forbidden.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reasons-forbidden.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reasons.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reasons.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recommend-literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recommend-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reference_casting.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reference_casting.stderr Lint on reference casting to bigger underlying allocation 2024-02-12 19:40:17 +01:00
register-tool-lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
register-tool-lint.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rustdoc-group.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rustdoc-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-renamed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-renamed.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suspicious-double-ref-op.rs add suggestion 2023-07-23 09:58:31 +00:00
suspicious-double-ref-op.stderr add suggestion 2023-07-23 09:58:31 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial_casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial_casts.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial-casts-featuring-type-ascription.stderr remove type ascription feature gate 2023-06-03 09:22:47 +08:00
trivial-casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial-casts.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-overflow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-overflow.stderr Update ui test 2023-06-11 18:27:26 +08: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unaligned_references.rs still accept references to u8 slices and str in packed fields 2023-09-06 08:32:30 +02:00
unaligned_references.stderr still accept references to u8 slices and str in packed fields 2023-09-06 08:32:30 +02: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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Uplift clippy::undropped_manually_drops to rustc 2023-06-08 11:41:34 +02:00
unnecessary-extern-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unnecessary-extern-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable_pub.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable_pub.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-async-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_braces_macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 Fix regression in unused_braces with macros 2023-01-15 05:08:30 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_labels.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_labels.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_parens_json_suggestion.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_parens_json_suggestion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_parens_json_suggestion.stderr [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_parens_multibyte_recovery.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_parens_multibyte_recovery.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused_parens_remove_json_suggestion.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_parens_remove_json_suggestion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_parens_remove_json_suggestion.stderr [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-borrows.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-borrows.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-qualifications-global-paths.rs Don't trigger unused_qualifications on global paths 2024-03-15 14:59:05 +00:00
use_suggestion_json.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use_suggestion_json.stderr [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
warn-ctypes-inhibit.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
warn-unused-inline-on-fn-prototypes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
warn-unused-inline-on-fn-prototypes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wide_pointer_comparisons.rs macro_rules: Preserve all metavariable spans in a global side table 2024-02-18 11:19:24 +03:00
wide_pointer_comparisons.stderr macro_rules: Preserve all metavariable spans in a global side table 2024-02-18 11:19:24 +03:00