rust/tests/ui/lint
dianne d7d6238b23 use backticks instead of single quotes when reporting "use of unstable library feature"
This is consistent with all other diagnostics I could find containing
features and enables the use of `DiagSymbolList` for generalizing
diagnostics for unstable library features to multiple features.
2024-11-03 13:55:52 -08:00
..
auxiliary Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
dangling-pointers-from-temporaries New lint: dangling_pointers_from_temporaries 2024-10-28 14:16:05 +03:00
dead-code
decorate-ice
elided-named-lifetimes
force-warn Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
improper_ctypes tests: issue-34798.rs => allow-phantomdata-in-ffi.rs 2024-09-27 14:29:34 -07:00
internal
keyword-idents Known-bug test for keyword_idents lint not propagating to other files 2024-10-28 16:57:08 +11:00
known-tool-in-submodule
large_assignments
let_underscore Fix the misleading diagnostic for let_underscore_drop on type without Drop implementation 2024-09-26 10:18:18 +08:00
must_not_suspend
non-local-defs Also treat impl definition parent as transparent regarding modules 2024-11-01 16:07:02 +01:00
non-snake-case Fix directives for lint-non-snake-case-crate 2024-10-29 16:40:06 -07:00
redundant-semicolon
rfc-2383-lint-reason
rfc-2457-non-ascii-idents
semicolon-in-expressions-from-macros
unknown-lints
unnecessary-qualification
unsafe_code
unused Stop relying on hashmap iteration for unused macro rules arms 2024-10-20 00:12:52 -07:00
use-redundant
ambiguous_wide_pointer_comparisons_suggestions.fixed
ambiguous_wide_pointer_comparisons_suggestions.rs
ambiguous_wide_pointer_comparisons_suggestions.stderr
anonymous-reexport.rs
anonymous-reexport.stderr
bad-lint-cap2.rs
bad-lint-cap2.stderr
bad-lint-cap3.rs
bad-lint-cap3.stderr
bad-lint-cap.rs
bad-lint-cap.stderr
bare-trait-objects-path.rs
bare-trait-objects-path.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
clashing-extern-fn-issue-130851.rs Make clashing_extern_declarations considering generic args for ADT field 2024-09-27 16:37:43 +08:00
clashing-extern-fn-issue-130851.stderr Make clashing_extern_declarations considering generic args for ADT field 2024-09-27 16:37:43 +08:00
clashing-extern-fn-recursion.rs
clashing-extern-fn-wasm.rs
clashing-extern-fn.rs
clashing-extern-fn.stderr
cli-lint-override.forbid_warn.stderr Update tests. 2024-10-31 10:55:45 +01:00
cli-lint-override.force_warn_deny.stderr Update tests. 2024-10-31 10:55:45 +01:00
cli-lint-override.rs
cli-lint-override.warn_deny.stderr Update tests. 2024-10-31 10:55:45 +01:00
cli-unknown-force-warn.rs
cli-unknown-force-warn.stderr
command-line-lint-group-allow.rs
command-line-lint-group-deny.rs
command-line-lint-group-deny.stderr
command-line-lint-group-forbid.rs
command-line-lint-group-forbid.stderr
command-line-lint-group-warn.rs
command-line-lint-group-warn.stderr
command-line-register-lint-tool.rs
command-line-register-unknown-lint-tool.rs
command-line-register-unknown-lint-tool.stderr
crate_level_only_lint.rs
crate_level_only_lint.stderr
deny-inside-forbid-ignored.cli_forbid_warnings.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-inside-forbid-ignored.cli_forbid.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-inside-forbid-ignored.rs Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-inside-forbid-ignored.source_only.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
deny-overflowing-literals.rs
deny-overflowing-literals.stderr
dropping_copy_types-issue-125189-can-not-fixed.rs
dropping_copy_types-issue-125189-can-not-fixed.stderr
dropping_copy_types-issue-125189.fixed
dropping_copy_types-issue-125189.rs
dropping_copy_types-issue-125189.stderr
dropping_copy_types-macros.fixed
dropping_copy_types-macros.rs
dropping_copy_types-macros.stderr
dropping_copy_types.rs
dropping_copy_types.stderr
dropping_references-can-fixed.fixed
dropping_references-can-fixed.rs
dropping_references-can-fixed.stderr
dropping_references.rs
dropping_references.stderr
empty-lint-attributes.rs
enable-unstable-lib-feature.rs
enable-unstable-lib-feature.stderr
expansion-time-include.rs
expansion-time.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
expansion-time.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
expect-future_breakage-crash-issue-126521.rs
expect-future_breakage-crash-issue-126521.stderr
expect-unused-imports.rs
expr_attr_paren_order.rs
expr_attr_paren_order.stderr
expr-field.rs
extern-C-fnptr-lints-slices.rs
extern-C-fnptr-lints-slices.stderr
fn_must_use.rs
fn_must_use.stderr
for_loop_over_fallibles.rs
for_loop_over_fallibles.stderr
forbid-error-capped.rs
forbid-group-group-1.rs
forbid-group-group-1.stderr
forbid-group-group-2.rs
forbid-group-group-2.stderr
forbid-group-member.rs
forbid-group-member.stderr
forbid-macro-with-deny.allow.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
forbid-macro-with-deny.rs Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
forbid-macro-with-deny.warn.stderr Expand test coverage for deny-inside-forbid interactions 2024-10-18 18:18:41 +02:00
forbid-member-group.rs
forbid-member-group.stderr
forgetting_copy_types-can-fixed.fixed
forgetting_copy_types-can-fixed.rs
forgetting_copy_types-can-fixed.stderr
forgetting_copy_types.rs
forgetting_copy_types.stderr
forgetting_references-can-fixed.fixed
forgetting_references-can-fixed.rs
forgetting_references-can-fixed.stderr
forgetting_references.rs
forgetting_references.stderr
function-item-references.rs
function-item-references.stderr
future-incompat-json-test.rs
future-incompat-json-test.stderr
future-incompat-test.rs
future-incompat-test.stderr
group-denied-lint-allowed.rs
group-forbid-always-trumps-cli.rs
group-forbid-always-trumps-cli.stderr
ice-array-into-iter-lint-issue-121532.rs
ice-array-into-iter-lint-issue-121532.stderr
ice-const-prop-unions-known-panics-lint-123710.rs
ice-const-prop-unions-known-panics-lint-123710.stderr
ice-unions-known-panics-lint-issue-121534.rs
inclusive-range-pattern-syntax.fixed
inclusive-range-pattern-syntax.rs
inclusive-range-pattern-syntax.stderr
inert-attr-macro.rs
inert-attr-macro.stderr
inline-trait-and-foreign-items.rs
inline-trait-and-foreign-items.stderr
internal_features.rs
internal_features.stderr
invalid_from_utf8.rs
invalid_from_utf8.stderr
invalid_value-polymorphic.rs
invalid_value.rs
invalid_value.stderr
invalid-nan-comparison-suggestion.fixed Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison-suggestion.rs Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison-suggestion.stderr Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison.rs Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
invalid-nan-comparison.stderr Add f16 and f128 to invalid_nan_comparison 2024-10-31 21:26:36 -05:00
issue-1866.rs
issue-1866.stderr
issue-14837.rs
issue-17718-const-naming.rs
issue-17718-const-naming.stderr
issue-19102.rs
issue-20343.rs
issue-30302.rs
issue-30302.stderr
issue-35075.rs
issue-35075.stderr
issue-47775-nested-macro-unnecessary-parens-arg.rs
issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs
issue-54099-camel-case-underscore-types.rs
issue-57410-1.rs
issue-57410.rs
issue-63364.rs
issue-63364.stderr
issue-70819-dont-override-forbid-in-same-scope.rs Allow #[deny(..)] inside #[forbid(..)] as a no-op with a warning 2024-10-18 18:18:41 +02:00
issue-70819-dont-override-forbid-in-same-scope.stderr Allow #[deny(..)] inside #[forbid(..)] as a no-op with a warning 2024-10-18 18:18:41 +02:00
issue-79546-fuel-ice.rs
issue-79744.rs
issue-79744.stderr
issue-81218.rs
issue-83477.rs
issue-83477.stderr
issue-87274-paren-parent.rs
issue-87274-paren-parent.stderr
issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs
issue-97094.rs
issue-97094.stderr
issue-99387.rs
issue-99387.stderr
issue-101284.rs
issue-102705.rs
issue-103317.fixed
issue-103317.rs
issue-103317.stderr
issue-103435-extra-parentheses.fixed
issue-103435-extra-parentheses.rs
issue-103435-extra-parentheses.stderr
issue-104392.rs
issue-104392.stderr
issue-104897.rs
issue-104897.stderr
issue-106991.rs
issue-106991.stderr Point at tail expression on rpit E0277 2024-11-02 03:08:04 +00:00
issue-108155.rs
issue-109152.rs
issue-109152.stderr
issue-109529.fixed
issue-109529.rs
issue-109529.stderr
issue-110573.rs
issue-111359.rs
issue-111359.stderr
issue-112489.rs
issue-117949.noopt.stderr
issue-117949.opt_with_overflow_checks.stderr
issue-117949.opt.stderr
issue-117949.rs
issue-121070-let-range.rs
lint_map_unit_fn.rs
lint_map_unit_fn.stderr
lint_pre_expansion_extern_module_aux.rs
lint-attr-everywhere-early.rs
lint-attr-everywhere-early.stderr
lint-attr-everywhere-late.rs
lint-attr-everywhere-late.stderr
lint-attr-non-item-node.rs
lint-attr-non-item-node.stderr
lint-cap-trait-bounds.rs
lint-cap.rs
lint-change-warnings.rs
lint-change-warnings.stderr
lint-const-item-mutation.rs
lint-const-item-mutation.stderr
lint-ctypes-66202.rs
lint-ctypes-73249-1.rs
lint-ctypes-73249-2.rs
lint-ctypes-73249-2.stderr
lint-ctypes-73249-3.rs
lint-ctypes-73249-3.stderr
lint-ctypes-73249-4.rs
lint-ctypes-73249-5.rs
lint-ctypes-73249-5.stderr
lint-ctypes-73249.rs
lint-ctypes-73251-1.rs
lint-ctypes-73251-1.stderr
lint-ctypes-73251-2.rs
lint-ctypes-73251-2.stderr
lint-ctypes-73251.rs
lint-ctypes-73747.rs
lint-ctypes-94223.rs
lint-ctypes-94223.stderr
lint-ctypes-113436-1.rs
lint-ctypes-113436-1.stderr
lint-ctypes-113436.rs
lint-ctypes-113900.rs
lint-ctypes-cstr.rs
lint-ctypes-cstr.stderr
lint-ctypes-enum.rs compiler: Fully stabilize result_ffi_guarantees 2024-10-19 13:01:30 -07:00
lint-ctypes-enum.stderr compiler: Fully stabilize result_ffi_guarantees 2024-10-19 13:01:30 -07:00
lint-ctypes-fn.rs
lint-ctypes-fn.stderr
lint-ctypes-non-recursion-limit.rs
lint-ctypes-option-nonnull-unsized.rs
lint-ctypes-option-nonnull-unsized.stderr
lint-ctypes.rs
lint-ctypes.stderr
lint-deref-nullptr.rs Don't emit null pointer lint for raw ref of null deref 2024-10-06 22:36:51 -04:00
lint-deref-nullptr.stderr Don't emit null pointer lint for raw ref of null deref 2024-10-06 22:36:51 -04:00
lint-directives-on-use-items-issue-10534.rs
lint-directives-on-use-items-issue-10534.stderr
lint-enum-intrinsics-non-enums.rs
lint-enum-intrinsics-non-enums.stderr
lint-expr-stmt-attrs-for-early-lints.rs
lint-ffi-safety-all-phantom.rs
lint-forbid-attr.rs
lint-forbid-attr.stderr
lint-forbid-cmdline.rs
lint-forbid-cmdline.stderr
lint-forbid-internal-unsafe.rs
lint-forbid-internal-unsafe.stderr
lint-group-nonstandard-style.rs
lint-group-nonstandard-style.stderr
lint-impl-fn.rs
lint-impl-fn.stderr
lint-incoherent-auto-trait-objects.rs
lint-incoherent-auto-trait-objects.stderr
lint-invalid-atomic-ordering-bool.rs
lint-invalid-atomic-ordering-bool.stderr
lint-invalid-atomic-ordering-exchange-weak.rs
lint-invalid-atomic-ordering-exchange-weak.stderr
lint-invalid-atomic-ordering-exchange.rs
lint-invalid-atomic-ordering-exchange.stderr
lint-invalid-atomic-ordering-false-positive.rs
lint-invalid-atomic-ordering-fence.rs
lint-invalid-atomic-ordering-fence.stderr
lint-invalid-atomic-ordering-fetch-update.rs
lint-invalid-atomic-ordering-fetch-update.stderr
lint-invalid-atomic-ordering-int.rs
lint-invalid-atomic-ordering-int.stderr
lint-invalid-atomic-ordering-ptr.rs
lint-invalid-atomic-ordering-ptr.stderr
lint-invalid-atomic-ordering-uint.rs
lint-invalid-atomic-ordering-uint.stderr
lint-level-macro-def-mod.rs
lint-level-macro-def.rs
lint-lowercase-static-const-pattern-rename.rs
lint-lowercase-static-const-pattern.rs
lint-lowercase-static-const-pattern.stderr
lint-malformed.rs
lint-malformed.stderr
lint-match-arms-2.rs
lint-match-arms-2.stderr
lint-match-arms.rs
lint-match-arms.stderr
lint-misplaced-attr.rs
lint-misplaced-attr.stderr
lint-missing-copy-implementations-allow.rs
lint-missing-copy-implementations.rs
lint-missing-copy-implementations.stderr
lint-missing-doc-crate.rs
lint-missing-doc-crate.stderr
lint-missing-doc-expect.rs Don't allow test revisions that conflict with built in cfgs 2024-10-23 18:05:27 +00:00
lint-missing-doc-test.rs
lint-missing-doc.rs
lint-missing-doc.stderr
lint-non-camel-case-types.rs
lint-non-camel-case-types.stderr
lint-non-camel-case-variant.rs
lint-non-camel-case-with-trailing-underscores.rs
lint-non-uppercase-associated-const.rs
lint-non-uppercase-associated-const.stderr
lint-non-uppercase-statics.rs
lint-non-uppercase-statics.stderr
lint-non-uppercase-trait-assoc-const.rs
lint-non-uppercase-trait-assoc-const.stderr
lint-nonstandard-style-unicode-1.rs
lint-nonstandard-style-unicode-1.stderr
lint-nonstandard-style-unicode-3.rs
lint-nonstandard-style-unicode-3.stderr
lint-output-format-2.rs
lint-output-format-2.stderr
lint-output-format.rs
lint-output-format.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-overflowing-ops.noopt.stderr
lint-overflowing-ops.opt_with_overflow_checks.stderr
lint-overflowing-ops.opt.stderr
lint-overflowing-ops.rs
lint-pre-expansion-extern-module.rs
lint-pre-expansion-extern-module.stderr
lint-pub-unreachable-for-nested-glob.rs
lint-qualification.fixed
lint-qualification.rs
lint-qualification.stderr
lint-range-endpoint-overflow.rs
lint-range-endpoint-overflow.stderr
lint-removed-allow.rs
lint-removed-allow.stderr
lint-removed-cmdline-deny.rs
lint-removed-cmdline-deny.stderr
lint-removed-cmdline.rs
lint-removed-cmdline.stderr
lint-removed.rs
lint-removed.stderr
lint-renamed-allow.rs
lint-renamed-allow.stderr
lint-renamed-cmdline-deny.rs
lint-renamed-cmdline-deny.stderr
lint-renamed-cmdline.rs
lint-renamed-cmdline.stderr
lint-renamed.rs
lint-renamed.stderr
lint-shorthand-field.fixed
lint-shorthand-field.rs
lint-shorthand-field.stderr
lint-stability2.rs
lint-stability2.stderr
lint-stability3.rs
lint-stability3.stderr
lint-stability-2.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability-2.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability-deprecated.rs
lint-stability-deprecated.stderr
lint-stability-fields-deprecated.rs
lint-stability-fields-deprecated.stderr
lint-stability-fields.rs
lint-stability-fields.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-stability.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
lint-strict-provenance-fuzzy-casts.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
lint-strict-provenance-fuzzy-casts.stderr
lint-strict-provenance-lossy-casts.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
lint-strict-provenance-lossy-casts.stderr
lint-struct-necessary.rs
lint-struct-necessary.stderr
lint-type-limits2.rs
lint-type-limits2.stderr
lint-type-limits3.rs
lint-type-limits3.stderr
lint-type-limits.rs
lint-type-limits.stderr
lint-type-overflow2.rs
lint-type-overflow2.stderr
lint-type-overflow.rs
lint-type-overflow.stderr
lint-unconditional-drop-recursion.rs
lint-unconditional-drop-recursion.stderr
lint-unconditional-recursion-tail-calls.rs
lint-unconditional-recursion-tail-calls.stderr
lint-unconditional-recursion.rs
lint-unconditional-recursion.stderr
lint-unexported-no-mangle.rs
lint-unexported-no-mangle.stderr
lint-unknown-feature-default.rs
lint-unknown-feature.rs
lint-unknown-lint-cmdline-allow.rs
lint-unknown-lint-cmdline-deny.rs
lint-unknown-lint-cmdline-deny.stderr
lint-unknown-lint-cmdline.rs
lint-unknown-lint-cmdline.stderr
lint-unknown-lint.rs
lint-unknown-lint.stderr
lint-unnecessary-import-braces.rs
lint-unnecessary-import-braces.stderr
lint-unnecessary-parens.fixed
lint-unnecessary-parens.rs
lint-unnecessary-parens.stderr
lint-unsafe-code.rs
lint-unsafe-code.stderr
lints-in-foreign-macros.rs
lints-in-foreign-macros.stderr
lints-on-stmt-not-overridden-130142.rs
missing_copy_impl_trivial_bounds.rs
missing-copy-implementations-negative-copy.rs
missing-copy-implementations-non-exhaustive.rs
missing-doc-private-macro.rs
missing-doc-private-macro.stderr
negative_literals.rs
negative_literals.stderr
noop-method-call.rs
noop-method-call.stderr
not_found.rs
not_found.stderr
opaque-ty-ffi-normalization-cycle.rs
opaque-ty-ffi-normalization-cycle.stderr
opaque-ty-ffi-unsafe.rs
opaque-ty-ffi-unsafe.stderr
outer-forbid.rs
outer-forbid.stderr
ptr_null_checks.rs
ptr_null_checks.stderr
reasons-erroneous.rs
reasons-erroneous.stderr
reasons-forbidden.rs
reasons-forbidden.stderr
reasons.rs
reasons.stderr
recommend-literal.rs
recommend-literal.stderr
reference_casting.rs
reference_casting.stderr
register-tool-lint.rs
register-tool-lint.stderr
renamed-lints-still-apply.rs
renamed-lints-still-apply.stderr
rust-cold-fn-accept-improper-ctypes.rs
rustdoc-group.rs
rustdoc-group.stderr
rustdoc-renamed.rs
rustdoc-renamed.stderr
special-upper-lower-cases.rs
special-upper-lower-cases.stderr
static-mut-refs.e2021.stderr
static-mut-refs.e2024.stderr
static-mut-refs.rs
suggestions.fixed
suggestions.rs
suggestions.stderr
suspicious-double-ref-op.rs
suspicious-double-ref-op.stderr
test-allow-dead-extern-static-no-warning.rs
test-inner-fn.rs
test-inner-fn.stderr
trivial_casts.rs
trivial_casts.stderr
trivial-cast-ice.rs
trivial-casts-featuring-type-ascription.rs
trivial-casts-featuring-type-ascription.stderr
trivial-casts.rs
trivial-casts.stderr
type-overflow.rs
type-overflow.stderr
unaligned_references_external_macro.rs
unaligned_references_external_macro.stderr
unaligned_references.current.stderr
unaligned_references.next.stderr
unaligned_references.rs
unconditional_panic_98444.rs
unconditional_panic_98444.stderr
unconditional_panic_promoted.rs Compute array length from type for unconditional panic. 2024-10-05 00:19:26 +00:00
unconditional_panic_promoted.stderr Compute array length from type for unconditional panic. 2024-10-05 00:19:26 +00:00
undropped_manually_drops.rs
undropped_manually_drops.stderr
unit_bindings.deny_level.stderr unit_bindings: improve test coverage 2024-10-21 21:33:33 +08:00
unit_bindings.rs unit_bindings: improve test coverage 2024-10-21 21:33:33 +08:00
unknown-lints-at-crate-level.rs
unnecessary-extern-crate.rs
unnecessary-extern-crate.stderr
unqualified_local_imports.rs
unqualified_local_imports.stderr
unreachable_pub.rs
unreachable_pub.stderr
unreachable-async-fn.rs
unused_braces_borrow.fixed
unused_braces_borrow.rs
unused_braces_borrow.stderr
unused_braces_macro.rs
unused_braces.fixed
unused_braces.rs
unused_braces.stderr
unused_import_warning_issue_45268.rs
unused_import_warning_issue_45268.stderr
unused_labels.rs
unused_labels.stderr
unused_parens_json_suggestion.fixed
unused_parens_json_suggestion.rs
unused_parens_json_suggestion.stderr
unused_parens_multibyte_recovery.rs
unused_parens_multibyte_recovery.stderr
unused_parens_remove_json_suggestion.fixed
unused_parens_remove_json_suggestion.rs
unused_parens_remove_json_suggestion.stderr
unused_variables-issue-82488.fixed
unused_variables-issue-82488.rs
unused_variables-issue-82488.stderr
unused-borrows.rs
unused-borrows.stderr
unused-braces-while-let-with-mutable-value.rs
unused-qualification-in-derive-expansion.rs
unused-qualifications-global-paths.rs
use_suggestion_json.rs
use_suggestion_json.stderr Add multi-producer, multi-consumer channel (mpmc) 2024-09-30 20:43:51 +03:00
warn-ctypes-inhibit.rs
warn-path-statement.rs
warn-path-statement.stderr
warn-unused-inline-on-fn-prototypes.rs
warn-unused-inline-on-fn-prototypes.stderr
wide_pointer_comparisons.rs
wide_pointer_comparisons.stderr