rust/tests/ui/lint
bors a48861a627 Auto merge of #127313 - cjgillot:single-expect, r=jieyouxu
Rewrite lint_expectations in a single pass.

This PR aims at reducing the perf regression from https://github.com/rust-lang/rust/pull/120924#issuecomment-2202486203 with drive-by simplifications.

Basically, instead of using the lint level builder, which is slow, this PR splits `lint_expectations` logic in 2:
- listing the `LintExpectations` is done in `shallow_lint_levels_on`, on a per-owner basis;
- building the unstable->stable expectation id map is done by iterating on attributes.

r? ghost for perf
2024-09-01 15:50:48 +00:00
..
auxiliary Split non_local_definitions lint tests in separate test files 2024-04-09 00:42:48 +02:00
dead-code Bless test fallout 2024-08-03 07:57:31 -04:00
decorate-ice Invoke decorate when error level is beyond warning, including error 2024-03-17 14:41:37 +00:00
elided-named-lifetimes elided_named_lifetimes: bless & add tests 2024-08-31 15:35:42 +03:00
force-warn Only suggest #[allow] for --warn and --deny lint level flags 2024-08-08 13:09:58 +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 Fix wording of misapplied must_not_suspend error 2024-08-18 20:32:04 +03:00
non-local-defs Switch back non_local_definitions lint to allow-by-default 2024-06-27 08:05:07 +02:00
non-snake-case tests/ui/lint: Move 19 tests to new non-snake-case subdir 2024-06-15 18:18:43 +02:00
redundant-semicolon [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rfc-2383-lint-reason RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02: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 Stabilize unsafe extern blocks (RFC 3484) 2024-07-23 00:29:39 -03:00
unused Stop using a special inner body for the coroutine by-move body for async closures 2024-08-26 18:44:19 -04: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 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 Make early lints translatable 2024-05-21 20:16:39 +00: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 Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
clashing-extern-fn.stderr Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04: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 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 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 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 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-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 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 Mark missing_fragment_specifier as FutureReleaseErrorReportInDeps 2024-07-24 13:16:46 -04: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
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 Fix article in test 2024-05-15 13:17:11 -05:00
for_loop_over_fallibles.stderr Fix article in test 2024-05-15 13:17:11 -05: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-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 [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
group-denied-lint-allowed.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
group-forbid-always-trumps-cli.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
group-forbid-always-trumps-cli.stderr Only suggest #[allow] for --warn and --deny lint level flags 2024-08-08 13:09:58 +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-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
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 Fix tests and bless 2024-04-24 13:12:33 +01:00
invalid_from_utf8.stderr Fix tests and bless 2024-04-24 13:12:33 +01: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 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 Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04: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 Reword the "unreachable pattern" explanations 2024-08-19 21:39:57 +02: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-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-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 Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00: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 Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04: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-cstr.rs Add a special case for CStr/CString in the improper_ctypes lint 2024-08-06 13:56:59 +00:00
lint-ctypes-cstr.stderr Add a special case for CStr/CString in the improper_ctypes lint 2024-08-06 13:56:59 +00:00
lint-ctypes-enum.rs Put the RFC behind a feature gate result_ffi_guarantees 2024-04-23 21:30:59 -07:00
lint-ctypes-enum.stderr Put the RFC behind a feature gate result_ffi_guarantees 2024-04-23 21:30:59 -07:00
lint-ctypes-fn.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
lint-ctypes-fn.stderr Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04: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 Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
lint-ctypes.stderr Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04: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 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 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 Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04: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-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-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 Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10: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 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 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 Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +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 Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +00: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 Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +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 Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +00: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 rename ptr::from_exposed_addr -> ptr::with_exposed_provenance 2024-03-23 13:18:33 +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 rename expose_addr to expose_provenance 2024-04-03 16:00:38 +02: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-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 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 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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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 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 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 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
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_impl_trivial_bounds.rs Use correct param-env in MissingCopyImplementations 2024-05-22 12:46:08 -04: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
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 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 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 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 Handle Deref expressions in invalid_reference_casting 2024-05-10 12:33:07 -04: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 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 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.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
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
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
unreachable_pub.rs Don't warn on fields in the unreachable_pub lint 2024-06-06 19:07:05 +02:00
unreachable_pub.stderr Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04: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 Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02: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 Tweak output of import suggestions 2024-06-13 20:22:21 +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 Add support for NonNull in ambiguous_wide_ptr_comparisions 2024-03-29 22:02:07 +01:00
wide_pointer_comparisons.stderr Do not underline suggestions for code that is already there 2024-08-01 18:53:42 +00:00