rust/src/test/ui/lint
Felix S. Klock II 381f1318ad Revert PR 81473 to resolve (on beta) issues 81626 and 81658.
Revert "Add missing brace"

This reverts commit 85ad773049.

Revert "Simplify base_expr"

This reverts commit 899aae465e.

Revert "Warn write-only fields"

This reverts commit d3c69a4c0d.
2021-05-03 11:43:15 -04:00
..
auxiliary Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakis 2021-03-05 05:28:07 +00:00
dead-code Revert PR 81473 to resolve (on beta) issues 81626 and 81658. 2021-05-03 11:43:15 -04:00
redundant-semicolon Lint on redundant trailing semicolon after item 2020-12-29 16:30:02 -05:00
rfc-2457-non-ascii-idents Fix symbol ordering for confusable idents detection. 2020-08-10 07:12:59 +10:00
semicolon-in-expressions-from-macros Really fix early lints inside an async desugaring 2021-02-03 10:05:58 +01:00
bare-trait-objects-path.rs Report missing cases of `bare_trait_objects` 2021-03-18 03:02:44 +03:00
bare-trait-objects-path.stderr Report missing cases of `bare_trait_objects` 2021-03-18 03:02:44 +03:00
clashing-extern-fn-recursion.rs Actually introduce a cycle in Reffy test. 2020-08-18 02:01:04 +10:00
clashing-extern-fn-wasm.rs Add test case for wasm non-clash. 2021-01-12 03:31:00 +10:00
clashing-extern-fn.rs Types with a hidden niche are not known to be non-null 2020-12-10 00:00:00 +00:00
clashing-extern-fn.stderr Types with a hidden niche are not known to be non-null 2020-12-10 00:00:00 +00:00
command-line-lint-group-allow.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
command-line-lint-group-deny.rs Remove licenses 2018-12-25 21:08:33 -07:00
command-line-lint-group-deny.stderr Update tests 2019-03-11 23:10:26 +03:00
command-line-lint-group-forbid.rs Remove licenses 2018-12-25 21:08:33 -07:00
command-line-lint-group-forbid.stderr Update tests 2019-03-11 23:10:26 +03:00
command-line-lint-group-warn.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
command-line-lint-group-warn.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
crate_level_only_lint.rs Implement crate level only lints checking. 2020-06-18 09:53:12 +08:00
crate_level_only_lint.stderr Implement crate level only lints checking. 2020-06-18 09:53:12 +08:00
deny-overflowing-literals.rs Add test for denying overflowing literal in loop 2019-05-23 21:48:26 +01:00
deny-overflowing-literals.stderr Add more context to the literal overflow message 2020-03-15 11:37:43 +08:00
empty-lint-attributes.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
expansion-time-include.rs Add tests for modifying lint levels for lints reported at expansion time 2020-06-09 22:36:33 +03:00
expansion-time.rs Revert "Promote missing_fragment_specifier to hard error" 2020-12-22 09:33:16 -05:00
expansion-time.stderr Revert "Promote missing_fragment_specifier to hard error" 2020-12-22 09:33:16 -05:00
expr_attr_paren_order.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
expr_attr_paren_order.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
forbid-error-capped.rs Use true previous lint level when detecting overriden forbids 2020-11-14 15:56:07 -05:00
forbid-group-group-1.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
forbid-group-group-1.stderr introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
forbid-group-group-2.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
forbid-group-group-2.stderr introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
forbid-group-member.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
forbid-group-member.stderr introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
forbid-member-group.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
forbid-member-group.stderr introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
function-item-references.rs update tests 2020-12-26 18:24:10 +01:00
function-item-references.stderr Corrected suggestion for generic parameters in `function_item_references` lint 2020-11-01 23:50:17 -04:00
inclusive-range-pattern-syntax.fixed Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
inclusive-range-pattern-syntax.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
inclusive-range-pattern-syntax.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
inline-trait-and-foreign-items.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
inline-trait-and-foreign-items.min_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
inline-trait-and-foreign-items.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
issue-14309.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-14309.stderr Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-17718-const-naming.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-17718-const-naming.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-30302.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-30302.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-31924-non-snake-ffi.rs Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
issue-34798.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-47390-unused-variable-in-struct-pattern.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
issue-47390-unused-variable-in-struct-pattern.stderr Bless some tests 2021-02-28 23:21:18 +01:00
issue-47775-nested-macro-unnecessary-parens-arg.rs Remove failing test case 2019-12-06 15:09:01 +01:00
issue-54099-camel-case-underscore-types.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-54180-unused-ref-field.fixed include mode in unused binding suggestion span 2019-04-15 13:09:37 -04:00
issue-54180-unused-ref-field.rs include mode in unused binding suggestion span 2019-04-15 13:09:37 -04:00
issue-54180-unused-ref-field.stderr Try to fix warning for unused variables in or patterns, issue #67691 2020-04-10 03:54:45 +03:00
issue-54538-unused-parens-lint.fixed Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
issue-54538-unused-parens-lint.rs Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
issue-54538-unused-parens-lint.stderr Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
issue-66362-no-snake-case-warning-for-field-puns.rs Don't warn about snake case for field puns that don't introduce a new name. 2020-01-17 05:57:39 +10:00
issue-66362-no-snake-case-warning-for-field-puns.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
issue-67691-unused-field-in-or-pattern.rs Replace run-rustfix for issue 67691 test with a FIXME 2020-04-10 05:15:52 +03:00
issue-67691-unused-field-in-or-pattern.stderr Replace run-rustfix for issue 67691 test with a FIXME 2020-04-10 05:15:52 +03:00
issue-70819-dont-override-forbid-in-same-scope.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
issue-70819-dont-override-forbid-in-same-scope.stderr introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
issue-71290-unused-paren-binop.rs Fix unused_parens nested binary op false positive 2020-05-06 01:50:55 +02:00
issue-74883-unused-paren-baren-yield.rs Do not trigger `unused_braces` for `while let` 2020-08-03 12:18:10 +09:00
issue-74883-unused-paren-baren-yield.stderr Do not trigger `unused_braces` for `while let` 2020-08-03 12:18:10 +09:00
issue-78660-cap-lints-future-compat.rs Fix ICE when a future-incompat-report has its command-line level capped 2020-11-02 01:43:25 -05:00
issue-78660-cap-lints-future-compat.stderr Fix ICE when a future-incompat-report has its command-line level capped 2020-11-02 01:43:25 -05:00
issue-80988.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
issue-80988.stderr introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
issue-81218.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
issue-81314-unused-span-ident.fixed Add regression test 2021-03-01 08:56:11 +01:00
issue-81314-unused-span-ident.rs Add regression test 2021-03-01 08:56:11 +01:00
issue-81314-unused-span-ident.stderr Add regression test 2021-03-01 08:56:11 +01:00
lint-attr-non-item-node.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-attr-non-item-node.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-change-warnings.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-change-warnings.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
lint-const-item-mutation.rs Suppress `CONST_ITEM_MUTATION` lint if a dereference occurs anywhere 2020-12-17 15:25:55 -05:00
lint-const-item-mutation.stderr Iterate DefId to encode spans. 2021-01-23 13:44:02 +01:00
lint-ctypes-66202.rs lint: transitive FFI-safety for transparent types 2020-06-09 14:37:08 +01:00
lint-ctypes-73249-1.rs ty: projections in `transparent_newtype_field` 2020-06-19 10:10:54 +01:00
lint-ctypes-73249-2.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-2.min_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-2.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-3.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-3.min_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-3.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-4.rs ty: simplify `transparent_newtype_field` 2020-06-19 11:16:16 +01:00
lint-ctypes-73249-5.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-5.min_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249-5.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73249.rs ty: projections in `transparent_newtype_field` 2020-06-19 10:10:54 +01:00
lint-ctypes-73251-1.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73251-1.min_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73251-1.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73251-2.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73251-2.min_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73251-2.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73251.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73251.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
lint-ctypes-73747.rs lint: use `transparent_newtype_field` to avoid ICE 2020-07-14 19:26:34 +01:00
lint-ctypes-enum.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
lint-ctypes-enum.stderr path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
lint-ctypes-fn.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
lint-ctypes-fn.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
lint-ctypes.rs Auto merge of #79804 - tmiasko:improper-ctypes-no-niche, r=pnkfelix 2021-02-10 12:56:09 +00:00
lint-ctypes.stderr Types with a hidden niche are not known to be non-null 2020-12-10 00:00:00 +00:00
lint-directives-on-use-items-issue-10534.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-directives-on-use-items-issue-10534.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-exceeding-bitshifts.noopt.stderr Normalise `BITS` in UI test 2020-09-26 13:34:55 +01:00
lint-exceeding-bitshifts.opt.stderr Normalise `BITS` in UI test 2020-09-26 13:34:55 +01:00
lint-exceeding-bitshifts.opt_with_overflow_checks.stderr Normalise `BITS` in UI test 2020-09-26 13:34:55 +01:00
lint-exceeding-bitshifts.rs Normalise `BITS` in UI test 2020-09-26 13:34:55 +01:00
lint-expr-stmt-attrs-for-early-lints.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
lint-forbid-attr.rs Use true previous lint level when detecting overriden forbids 2020-11-14 15:56:07 -05:00
lint-forbid-attr.stderr Use true previous lint level when detecting overriden forbids 2020-11-14 15:56:07 -05:00
lint-forbid-cmdline.rs Use true previous lint level when detecting overriden forbids 2020-11-14 15:56:07 -05:00
lint-forbid-cmdline.stderr Use true previous lint level when detecting overriden forbids 2020-11-14 15:56:07 -05:00
lint-forbid-internal-unsafe.rs Fix tests 2019-01-15 18:02:46 +09:00
lint-forbid-internal-unsafe.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-group-nonstandard-style.rs specify "upper camel case" in style lint 2019-02-13 13:41:32 -05:00
lint-group-nonstandard-style.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
lint-impl-fn.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-impl-fn.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-incoherent-auto-trait-objects.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
lint-incoherent-auto-trait-objects.stderr specialization_graph: avoid trimmed paths for OverlapError 2020-09-03 14:09:50 +03:00
lint-lowercase-static-const-pattern-rename.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
lint-lowercase-static-const-pattern.rs improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-lowercase-static-const-pattern.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-malformed.rs Update tests 2020-01-09 21:23:12 +03:00
lint-malformed.stderr Update tests 2020-01-09 21:23:12 +03:00
lint-match-arms.rs Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-match-arms.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
lint-misplaced-attr.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-misplaced-attr.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-missing-copy-implementations.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-missing-copy-implementations.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-missing-doc.rs lint missing docs for extern items 2020-09-22 00:02:46 +02:00
lint-missing-doc.stderr lint missing docs for extern items 2020-09-22 00:02:46 +02:00
lint-non-camel-case-types.rs fire "non_camel_case_types" for associated types 2020-01-06 09:51:23 -05:00
lint-non-camel-case-types.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-camel-case-variant.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
lint-non-camel-case-with-trailing-underscores.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
lint-non-snake-case-crate-2.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-crate-2.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-snake-case-crate.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-crate.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-snake-case-functions.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-functions.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-snake-case-identifiers-suggestion-reserved.rs Add reserved identifier test cases for snake case lint 2021-01-01 18:38:29 +00:00
lint-non-snake-case-identifiers-suggestion-reserved.stderr Add snake case lint note about keyword identifiers which cannot be raw 2021-01-02 15:46:41 +00:00
lint-non-snake-case-lifetimes.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-lifetimes.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-snake-case-modules.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-modules.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-snake-case-no-lowercase-equivalent.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
lint-non-uppercase-associated-const.rs improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-non-uppercase-associated-const.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-uppercase-statics.rs improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-non-uppercase-statics.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-nonstandard-style-unicode-1.rs fix typos 2020-08-02 23:20:00 +08:00
lint-nonstandard-style-unicode-1.stderr Split and expand nonstandard-style lints unicode unit test. 2020-06-28 23:28:43 +08:00
lint-nonstandard-style-unicode-2.rs fix typos 2020-08-02 23:20:00 +08:00
lint-nonstandard-style-unicode-2.stderr Split and expand nonstandard-style lints unicode unit test. 2020-06-28 23:28:43 +08:00
lint-nonstandard-style-unicode-3.rs Split and expand nonstandard-style lints unicode unit test. 2020-06-28 23:28:43 +08:00
lint-nonstandard-style-unicode-3.stderr Split and expand nonstandard-style lints unicode unit test. 2020-06-28 23:28:43 +08:00
lint-output-format-2.rs report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-output-format-2.stderr report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-output-format.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-output-format.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
lint-owned-heap-memory.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-owned-heap-memory.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
lint-pre-expansion-extern-module.rs fix pre-expansion linting infra 2020-03-18 15:08:25 +01:00
lint-pre-expansion-extern-module.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
lint-qualification.rs Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
lint-qualification.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-range-endpoint-overflow.rs Include signed integer types in the lint 2019-04-30 22:43:51 +01:00
lint-range-endpoint-overflow.stderr Add more context to the literal overflow message 2020-03-15 11:37:43 +08:00
lint-removed-allow.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-removed-allow.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
lint-removed-cmdline.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-removed-cmdline.stderr Fix formatting for removed lints 2021-01-17 16:18:02 -05:00
lint-removed.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-removed.stderr Fix formatting for removed lints 2021-01-17 16:18:02 -05:00
lint-renamed-allow.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-renamed-allow.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
lint-renamed-cmdline.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-renamed-cmdline.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
lint-renamed.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-renamed.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
lint-shorthand-field.fixed Tweak non_shorthand_field_patterns' suggestion 2019-12-22 08:21:36 +09:00
lint-shorthand-field.rs Tweak non_shorthand_field_patterns' suggestion 2019-12-22 08:21:36 +09:00
lint-shorthand-field.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-stability-2.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
lint-stability-2.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
lint-stability-deprecated.rs report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-stability-deprecated.stderr report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-stability-fields-deprecated.rs Inherit `#[stable(..)]` annotations in enum variants and fields from its item 2021-02-10 19:10:14 -08:00
lint-stability-fields-deprecated.stderr Inherit `#[stable(..)]` annotations in enum variants and fields from its item 2021-02-10 19:10:14 -08:00
lint-stability-fields.rs Inherit `#[stable(..)]` annotations in enum variants and fields from its item 2021-02-10 19:10:14 -08:00
lint-stability-fields.stderr Inherit `#[stable(..)]` annotations in enum variants and fields from its item 2021-02-10 19:10:14 -08:00
lint-stability.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
lint-stability.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
lint-stability2.rs report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-stability2.stderr report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-stability3.rs report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-stability3.stderr report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-temporary-cstring-as-param.rs Fix test 2020-10-27 10:10:30 -04:00
lint-temporary-cstring-as-param.stderr Fix test 2020-10-27 10:10:30 -04:00
lint-temporary-cstring-as-ptr.rs Address review comments 2020-10-26 19:19:06 -04:00
lint-temporary-cstring-as-ptr.stderr Address review comments 2020-10-26 19:19:06 -04:00
lint-type-limits.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-limits.stderr Update tests 2019-03-11 23:10:26 +03:00
lint-type-limits2.rs Place types inside backticks 2019-04-30 22:43:51 +01:00
lint-type-limits2.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
lint-type-limits3.rs Place types inside backticks 2019-04-30 22:43:51 +01:00
lint-type-limits3.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
lint-type-overflow.rs Place types inside backticks 2019-04-30 22:43:51 +01:00
lint-type-overflow.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
lint-type-overflow2.rs Address review comments. 2019-06-24 18:32:52 +02:00
lint-type-overflow2.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
lint-unconditional-recursion.rs Don't lint for self-recursion when the function can diverge 2020-04-06 00:53:16 +02:00
lint-unconditional-recursion.stderr Note when a a move/borrow error is caused by a deref coercion 2020-09-10 20:56:20 -04:00
lint-unexported-no-mangle.rs normalize use of backticks in compiler messages for librustc_lint 2019-07-21 11:47:24 +02:00
lint-unexported-no-mangle.stderr Fix formatting for removed lints 2021-01-17 16:18:02 -05:00
lint-unknown-feature-default.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
lint-unknown-feature.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
lint-unknown-lint-cmdline.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-lint-cmdline.stderr Update tests 2020-01-09 21:23:12 +03:00
lint-unknown-lint.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-lint.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-unnecessary-import-braces.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unnecessary-import-braces.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-unnecessary-parens.fixed Fixed false positive for `unused_parens` lint 2020-10-14 01:16:40 +02:00
lint-unnecessary-parens.rs Fixed false positive for `unused_parens` lint 2020-10-14 01:16:40 +02:00
lint-unnecessary-parens.stderr Fixed false positive for `unused_parens` lint 2020-10-14 01:16:40 +02:00
lint-unsafe-code.rs Add checking for export_name to unsafe_code lint 2020-08-30 20:16:22 +02:00
lint-unsafe-code.stderr Point to no_mangle/export_name attribute when linting 2020-08-30 20:16:23 +02:00
lint-unused-extern-crate.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-extern-crate.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-unused-imports.rs Fix tests 2019-03-30 22:37:02 +01:00
lint-unused-imports.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-unused-mut-self.fixed Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
lint-unused-mut-self.rs Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
lint-unused-mut-self.stderr Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
lint-unused-mut-variables.rs Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
lint-unused-mut-variables.stderr Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
lint-unused-variables.rs syntax: fix #64682. 2019-09-29 12:55:45 +02:00
lint-unused-variables.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
lint-uppercase-variables.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
lint-uppercase-variables.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
lint_pre_expansion_extern_module_aux.rs fix pre-expansion linting infra 2020-03-18 15:08:25 +01:00
lints-in-foreign-macros.rs the crate and tests 2020-03-22 14:37:51 -05:00
lints-in-foreign-macros.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
must-use-ops.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
must-use-ops.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
must_use-array.rs Extend #[must_use] lint to arrays 2019-06-30 18:20:49 +01:00
must_use-array.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
must_use-in-stdlib-traits.rs Remove `compile-fail` test suite 2020-12-29 23:39:56 +03:00
must_use-in-stdlib-traits.stderr Remove `compile-fail` test suite 2020-12-29 23:39:56 +03:00
must_use-trait.rs Improve error messages for boxed trait objects in tuples 2019-06-30 18:19:28 +01:00
must_use-trait.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
must_use-tuple.rs path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
must_use-tuple.stderr path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
must_use-unit.rs Revert "Remove `#![feature(never_type)]` from tests." 2019-12-14 09:01:04 -05:00
must_use-unit.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
no-unused-parens-return-block.rs Make warnings into errors 2018-10-18 10:35:01 +01:00
noop-method-call.rs Fix borrow and deref 2021-03-03 11:23:29 +01:00
noop-method-call.stderr Fix borrow and deref 2021-03-03 11:23:29 +01:00
not_found.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
not_found.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
opaque-ty-ffi-unsafe.full_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
opaque-ty-ffi-unsafe.min_tait.stderr Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
opaque-ty-ffi-unsafe.rs Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
outer-forbid.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
outer-forbid.stderr introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
reasons-erroneous.rs Update tests 2020-01-09 21:23:12 +03:00
reasons-erroneous.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
reasons-forbidden.rs Use true previous lint level when detecting overriden forbids 2020-11-14 15:56:07 -05:00
reasons-forbidden.stderr Use true previous lint level when detecting overriden forbids 2020-11-14 15:56:07 -05:00
reasons.rs Auto merge of #68080 - varkor:declared-here, r=petrochenkov 2020-01-31 15:13:51 +00:00
reasons.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
recommend-literal.rs Custom error on literal names from other languages 2021-03-15 08:11:02 -04:00
recommend-literal.stderr Custom error on literal names from other languages 2021-03-15 08:11:02 -04:00
register-tool-lint.rs Allow registering tool lints with `register_tool` 2021-03-16 17:33:03 -04:00
register-tool-lint.stderr Allow registering tool lints with `register_tool` 2021-03-16 17:33:03 -04:00
renamed-lints-still-apply.rs Apply lint restrictions from renamed lints 2021-02-28 01:04:34 -05:00
renamed-lints-still-apply.stderr Apply lint restrictions from renamed lints 2021-02-28 01:04:34 -05:00
rustdoc-group.rs Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
rustdoc-group.stderr Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
rustdoc-renamed.rs Don't warn about old rustdoc lint names (temporarily) 2021-03-16 13:13:59 -04:00
rustdoc-renamed.stderr Don't warn about old rustdoc lint names (temporarily) 2021-03-16 13:13:59 -04:00
special-upper-lower-cases.rs Do not provide suggestions for non standard characters 2020-10-11 07:41:25 +09:00
special-upper-lower-cases.stderr Fix invalid camel case suggestion involving unicode idents 2021-01-29 11:07:14 -08:00
suggestions.fixed Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
suggestions.rs Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
suggestions.stderr Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
test-inner-fn.rs Remove licenses 2018-12-25 21:08:33 -07:00
test-inner-fn.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
trivial-casts-featuring-type-ascription.rs Remove licenses 2018-12-25 21:08:33 -07:00
trivial-casts-featuring-type-ascription.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
trivial-casts.rs Remove licenses 2018-12-25 21:08:33 -07:00
trivial-casts.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
trivial_casts.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
trivial_casts.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
type-overflow.rs Improve error and help messages 2021-02-13 21:42:32 -08:00
type-overflow.stderr Handle negative literals in cast overflow warning 2021-03-06 17:33:21 +09:00
unaligned_references.rs expand unaligned_references test 2020-05-27 20:31:17 +02:00
unaligned_references.stderr expand unaligned_references test 2020-05-27 20:31:17 +02:00
unaligned_references_external_macro.rs Enable report_in_external_macro in unaligned_references 2021-02-27 21:25:06 +09:00
unaligned_references_external_macro.stderr Enable report_in_external_macro in unaligned_references 2021-02-27 21:25:06 +09:00
uninitialized-zeroed.rs warn about uninit multi-variant enums 2020-07-17 16:39:59 +02:00
uninitialized-zeroed.stderr rustc_lint: avoid trimmed paths for ty_find_init_error 2020-09-03 14:36:58 +03:00
unreachable-async-fn.rs review comments 2019-09-21 16:34:16 -07:00
unreachable_pub-pub_crate.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
unreachable_pub-pub_crate.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
unreachable_pub.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
unreachable_pub.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
unused-braces-while-let-with-mutable-value.rs Do not trigger `unused_braces` for `while let` 2020-08-03 12:18:10 +09:00
unused_braces.fixed unused_delims: trim expr 2020-08-10 12:04:51 +02:00
unused_braces.rs Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
unused_braces.stderr Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
unused_braces_borrow.fixed unused_delims: trim expr 2020-08-10 12:04:51 +02:00
unused_braces_borrow.rs Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
unused_braces_borrow.stderr Audit uses of `span_suggestion_short` 2020-07-02 15:18:33 +09:00
unused_import_warning_issue_45268.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
unused_import_warning_issue_45268.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
unused_labels.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
unused_labels.stderr Tweak diagnostics on shadowing lifetimes/labels 2020-12-02 11:39:42 +09:00
unused_parens_json_suggestion.fixed Added text after error messages 2019-10-18 13:21:39 +02:00
unused_parens_json_suggestion.rs Added text after error messages 2019-10-18 13:21:39 +02:00
unused_parens_json_suggestion.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unused_parens_remove_json_suggestion.fixed Added text after error messages 2019-10-18 13:21:39 +02:00
unused_parens_remove_json_suggestion.rs Added text after error messages 2019-10-18 13:21:39 +02:00
unused_parens_remove_json_suggestion.stderr update unused_braces wording 2020-03-31 19:01:49 +02:00
unused_variables-issue-82488.fixed Properly account for non-shorthand pattern field in unused variable lint 2021-02-24 18:08:37 -08:00
unused_variables-issue-82488.rs Properly account for non-shorthand pattern field in unused variable lint 2021-02-24 18:08:37 -08:00
unused_variables-issue-82488.stderr Properly account for non-shorthand pattern field in unused variable lint 2021-02-24 18:08:37 -08:00
use-redundant.rs Use check-pass mode for lint tests 2020-01-23 00:00:00 +00:00
use-redundant.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
use_suggestion_json.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
use_suggestion_json.stderr Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
warn-unused-inline-on-fn-prototypes.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
warn-unused-inline-on-fn-prototypes.stderr Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00