rust/src/test/ui/lint
Lamb 3a77bb86ff Compute most of Public/Exported access level in rustc_resolve
Mak DefId to AccessLevel map in resolve for export

hir_id to accesslevel in resolve and applied in privacy
using local def id
removing tracing probes
making function not recursive and adding comments

Move most of Exported/Public res to rustc_resolve

moving public/export res to resolve

fix missing stability attributes in core, std and alloc

move code to access_levels.rs

return for some kinds instead of going through them

Export correctness, macro changes, comments

add comment for import binding

add comment for import binding

renmae to access level visitor, remove comments, move fn as closure, remove new_key

fmt

fix rebase

fix rebase

fmt

fmt

fix: move macro def to rustc_resolve

fix: reachable AccessLevel for enum variants

fmt

fix: missing stability attributes for other architectures

allow unreachable pub in rustfmt

fix: missing impl access level + renaming export to reexport

Missing impl access level was found thanks to a test in clippy
2022-01-09 21:33:14 +00:00
..
auxiliary Move the unused dir to lints subdir 2021-07-31 06:12:42 +09:00
dead-code Split inline const to two feature gates 2021-11-22 22:17:03 +00:00
force-warn Use multipart suggestions. 2021-12-04 23:13:58 +01:00
known-tool-in-submodule Add known-tool-in-submodule test 2021-09-23 22:05:26 -04:00
must_not_suspend When .await is called on a non-Future expression, suggest removal 2021-12-13 17:09:15 +00:00
redundant-semicolon Lint on redundant trailing semicolon after item 2020-12-29 16:30:02 -05:00
rfc-2457-non-ascii-idents Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
semicolon-in-expressions-from-macros Only emit lint for local macros 2021-07-27 14:18:46 -05:00
unsafe_code Add a test for unsafe_code lint. 2021-10-15 01:21:05 +08:00
unused Rollup merge of #91956 - notriddle:notriddle/unused-parens-range, r=nagisa 2021-12-19 00:38:41 +01:00
bad-lint-cap.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-lint-cap.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-lint-cap2.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-lint-cap2.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-lint-cap3.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-lint-cap3.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bare-trait-objects-path.rs Lint bare traits in AstConv. 2021-12-04 23:13:58 +01:00
bare-trait-objects-path.stderr Use multipart suggestions. 2021-12-04 23:13:58 +01: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
cli-lint-override.forbid_warn.stderr Add tests for command line lint control 2021-07-17 23:13:59 -07:00
cli-lint-override.force_warn_deny.stderr Rename force-warns to force-warn 2021-07-21 15:41:10 +02:00
cli-lint-override.rs Update tests 2021-08-24 11:39:22 -04:00
cli-lint-override.warn_deny.stderr Add tests for command line lint control 2021-07-17 23:13:59 -07:00
cli-unknown-force-warn.rs Update tests 2021-08-24 11:39:22 -04:00
cli-unknown-force-warn.stderr Update tests 2021-08-24 11:39:22 -04: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
command-line-lint-group-deny.stderr
command-line-lint-group-forbid.rs
command-line-lint-group-forbid.stderr
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
command-line-register-lint-tool.rs Add ui test for command line lints with tool names 2021-07-06 15:49:47 -07:00
command-line-register-unknown-lint-tool.rs Fix test case 2021-07-07 10:28:35 -07:00
command-line-register-unknown-lint-tool.stderr Cleanup: unify lint name checking 2021-07-07 10:50:50 -07:00
crate_level_only_lint.rs Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
crate_level_only_lint.stderr Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
deny-overflowing-literals.rs
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
enable-unstable-lib-feature.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
enable-unstable-lib-feature.stderr Move some tests to more reasonable directories 2021-09-15 14:03:27 -03: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 parser: Remove support for inner attributes on non-block expressions 2021-05-03 13:33:53 +03:00
expr_attr_paren_order.stderr parser: Remove support for inner attributes on non-block expressions 2021-05-03 13:33:53 +03:00
fn_must_use.rs Move some tests to more reasonable directories - 5 2021-03-20 11:41:24 -03:00
fn_must_use.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
forbid-group-group-2.stderr Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
forbid-group-member.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
forbid-group-member.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
forbid-member-group.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
forbid-member-group.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04: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
future-incompat-test.rs Stabilize -Z emit-future-incompat as --json future-incompat 2021-12-04 14:34:20 -05:00
future-incompat-test.stderr Add -Zfuture-incompat-test to assist with testing future-incompat reports. 2021-07-14 08:37:58 -07:00
inclusive-range-pattern-syntax.fixed Address PR feedback 2021-06-25 14:51:56 +02:00
inclusive-range-pattern-syntax.rs Address PR feedback 2021-06-25 14:51:56 +02:00
inclusive-range-pattern-syntax.stderr Link to edition guide instead of issues for 2021 lints. 2021-08-09 17:45:01 +02:00
inert-attr-macro.rs Warn on inert attributes used on bang macro invocation 2021-07-19 17:49:28 -05:00
inert-attr-macro.stderr Warn on inert attributes used on bang macro invocation 2021-07-19 17:49:28 -05:00
inline-trait-and-foreign-items.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
inline-trait-and-foreign-items.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03: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-14837.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -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 Adjust #[no_mangle]-related checks and lints for impl items 2021-08-12 17:11:44 +08:00
issue-34798.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03: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-57410-1.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-57410.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-63364.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-63364.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03: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-70819-dont-override-forbid-in-same-scope.rs Fix #88256, remove duplicated diagnostic 2021-09-04 19:26:25 +08:00
issue-70819-dont-override-forbid-in-same-scope.stderr Fix #88256, remove duplicated diagnostic 2021-09-04 19:26:25 +08:00
issue-79546-fuel-ice.rs Fix ICE with --cap-lints=allow and -Zfuel=...=0 2021-09-21 01:53:04 +02:00
issue-79744.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-79744.stderr Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-80988.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
issue-80988.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
issue-81218.rs introduce future-compatibility warning for forbidden lint groups 2021-02-02 18:21:37 -05:00
issue-83477.rs Fix default_hash_types to use resolved path 2021-07-09 09:10:45 -05:00
issue-83477.stderr Fix default_hash_types to use resolved path 2021-07-09 09:10:45 -05:00
issue-86600-lint-twice.rs Fix double warning about illegal floating-point literal pattern 2021-07-05 18:10:34 +02:00
issue-86600-lint-twice.stderr Fix double warning about illegal floating-point literal pattern 2021-07-05 18:10:34 +02:00
issue-87274-paren-parent.rs Remove special case for ExprKind::Paren in MutVisitor 2021-07-19 17:23:10 -05:00
issue-87274-paren-parent.stderr Remove special case for ExprKind::Paren in MutVisitor 2021-07-19 17:23:10 -05:00
issue-87308.rs Fix ICE with buffered lint referring to AST node deleted by everybody_loops 2021-10-03 21:04:36 +02:00
issue-87308.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
issue-89469.rs Fix extra non_snake_case warning for shorthand field bindings 2021-10-03 14:33:14 +02:00
issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs Properly register text_direction_codepoint_in_comment lint. 2021-11-05 20:12:40 +01:00
lint-attr-non-item-node.rs
lint-attr-non-item-node.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-cap.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
lint-change-warnings.rs
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.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73249-2.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73249-3.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73249-3.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73249-4.rs ty: simplify transparent_newtype_field 2020-06-19 11:16:16 +01:00
lint-ctypes-73249-5.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73249-5.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73249.rs ty: projections in transparent_newtype_field 2020-06-19 10:10:54 +01:00
lint-ctypes-73251-1.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73251-1.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
lint-ctypes-73251-2.rs Update test outputs 2021-11-23 10:34:17 -08:00
lint-ctypes-73251-2.stderr Update test outputs 2021-11-23 10:34:17 -08:00
lint-ctypes-73251.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03: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 Add improper ctypes test for ptr to unit, ptr to tuple 2021-06-04 22:19:30 -07:00
lint-ctypes-fn.stderr Add improper ctypes test for ptr to unit, ptr to tuple 2021-06-04 22:19:30 -07:00
lint-ctypes.rs Make *const (), *mut () okay for FFI 2021-06-04 22:19:43 -07:00
lint-ctypes.stderr Make *const (), *mut () okay for FFI 2021-06-04 22:19:43 -07:00
lint-deref-nullptr.rs remove redundant test 2021-04-10 16:17:09 +02:00
lint-deref-nullptr.stderr remove redundant test 2021-04-10 16:17:09 +02:00
lint-directives-on-use-items-issue-10534.rs
lint-directives-on-use-items-issue-10534.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-enum-intrinsics-non-enums.rs Add enum_intrinsics_non_enums lint 2021-10-11 09:46:27 +02:00
lint-enum-intrinsics-non-enums.stderr Add enum_intrinsics_non_enums lint 2021-10-11 09:46:27 +02: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 Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-forbid-attr.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-forbid-cmdline.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-forbid-cmdline.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-forbid-internal-unsafe.rs Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
lint-forbid-internal-unsafe.stderr Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
lint-group-nonstandard-style.rs
lint-group-nonstandard-style.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
lint-impl-fn.rs
lint-impl-fn.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-incoherent-auto-trait-objects.rs
lint-incoherent-auto-trait-objects.stderr specialization_graph: avoid trimmed paths for OverlapError 2020-09-03 14:09:50 +03:00
lint-invalid-atomic-ordering-bool.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-bool.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-exchange-weak.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-exchange-weak.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-exchange.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-exchange.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-false-positive.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-fence.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-fence.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-fetch-update.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-fetch-update.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-int.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-int.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-ptr.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-ptr.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-uint.rs Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-invalid-atomic-ordering-uint.stderr Uplift the invalid_atomic_ordering lint from clippy to rustc 2021-08-16 03:55:27 +00:00
lint-level-macro-def-mod.rs Update tests 2021-08-28 00:24:39 -07:00
lint-level-macro-def.rs Update tests 2021-08-28 00:24:39 -07: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
lint-lowercase-static-const-pattern.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-malformed.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-malformed.stderr Move malformed attribute code to a function and fix inner attribute suggestion. 2021-09-25 08:11:10 -07: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 Session.used_attrs and move logic to CheckAttrVisitor 2021-08-21 13:27:27 -05:00
lint-misplaced-attr.stderr Remove Session.used_attrs and move logic to CheckAttrVisitor 2021-08-21 13:27:27 -05:00
lint-missing-copy-implementations.rs
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
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
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
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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
lint-non-snake-case-lifetimes.rs
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
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 Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
lint-non-uppercase-associated-const.rs
lint-non-uppercase-associated-const.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
lint-non-uppercase-statics.rs
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 more “a”/“an” typos 2021-08-22 17:27:18 +02:00
lint-nonstandard-style-unicode-1.stderr Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
lint-nonstandard-style-unicode-2.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
lint-nonstandard-style-unicode-2.stderr Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
lint-nonstandard-style-unicode-3.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
lint-nonstandard-style-unicode-3.stderr Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +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
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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
lint-owned-heap-memory.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 Address PR feedback 2021-06-25 14:51:56 +02:00
lint-pub-unreachable-for-nested-glob.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00: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
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
lint-removed-allow.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
lint-removed-cmdline.rs
lint-removed-cmdline.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-removed.rs
lint-removed.stderr Fix formatting for removed lints 2021-01-17 16:18:02 -05:00
lint-renamed-allow.rs
lint-renamed-allow.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
lint-renamed-cmdline.rs
lint-renamed-cmdline.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-renamed.rs
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 Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
lint-stability-deprecated.stderr shrinking the deprecated method span 2021-06-15 16:21:58 +08: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 Bless tests 2021-10-15 02:36:58 -05:00
lint-stability3.rs report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
lint-stability3.stderr Use last segment 2021-06-15 19:35:03 +08: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
lint-type-limits.stderr
lint-type-limits2.rs
lint-type-limits2.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
lint-type-limits3.rs
lint-type-limits3.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
lint-type-overflow.rs
lint-type-overflow.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
lint-type-overflow2.rs
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 Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04: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
lint-unknown-lint-cmdline.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
lint-unknown-lint.rs Suggest lint groups 2021-05-05 13:11:52 -05:00
lint-unknown-lint.stderr Suggest lint groups 2021-05-05 13:11:52 -05:00
lint-unnecessary-import-braces.rs
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 Use more accurate spans for "unused delimiter" lint 2021-09-09 14:24:33 +00:00
lint-unsafe-code.rs Adjust #[no_mangle]-related checks and lints for impl items 2021-08-12 17:11:44 +08:00
lint-unsafe-code.stderr Adjust #[no_mangle]-related checks and lints for impl items 2021-08-12 17:11:44 +08: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 Bless tests 2021-10-15 02:36:58 -05:00
missing-doc-private-macro.rs Update tests 2021-08-28 00:24:39 -07:00
missing-doc-private-macro.stderr Update tests 2021-08-28 00:24:39 -07: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.rs Fix printing unit return ty, don't elaborate FnOnce unless we see it 2021-11-23 11:05:07 -08:00
opaque-ty-ffi-unsafe.stderr Fix printing unit return ty, don't elaborate FnOnce unless we see it 2021-11-23 11:05:07 -08:00
outer-forbid.rs Fix #88256, remove duplicated diagnostic 2021-09-04 19:26:25 +08:00
outer-forbid.stderr Fix #88256, remove duplicated diagnostic 2021-09-04 19:26:25 +08:00
reasons-erroneous.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
reasons-erroneous.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04: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 Lint elided lifetimes in path during lifetime resolution. 2021-11-30 22:55:07 +01:00
reasons.stderr Tighten span when suggesting lifetime on path 2021-12-27 23:34:52 -08:00
recommend-literal.rs Custom error on literal names from other languages 2021-03-15 08:11:02 -04:00
recommend-literal.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
register-tool-lint.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
register-tool-lint.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
special-upper-lower-cases.stderr Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +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 Use more accurate spans for "unused delimiter" lint 2021-09-09 14:24:33 +00:00
test-allow-dead-extern-static-no-warning.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
test-inner-fn.rs
test-inner-fn.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
trivial-casts-featuring-type-ascription.rs
trivial-casts-featuring-type-ascription.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
trivial-casts.rs
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 unaligned_references: align(N) fields in packed(N) structs are fine 2021-03-28 12:54:19 +02:00
unaligned_references.stderr give more help in the unaligned_references lint 2021-12-09 16:48:51 -05:00
unaligned_references_external_macro.rs make unaligned_refereces future-incompat lint warn-by-default, and remove the safe_packed_borrows lint that it replaces 2021-03-27 16:59:37 +01:00
unaligned_references_external_macro.stderr give more help in the unaligned_references lint 2021-12-09 16:48:51 -05:00
uninitialized-zeroed.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
uninitialized-zeroed.stderr Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
unnecessary-extern-crate.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
unnecessary-extern-crate.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -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 Bless tests 2021-10-15 02:36:58 -05:00
unreachable_pub.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
unreachable_pub.stderr Bless tests 2021-10-15 02:36:58 -05:00
unused-borrows.rs Lint for unused borrows as part of UNUSED_MUST_USE 2021-06-18 15:09:40 +08:00
unused-borrows.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Use more accurate spans for "unused delimiter" lint 2021-09-09 14:24:33 +00: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 Use more accurate spans for "unused delimiter" lint 2021-09-09 14:24:33 +00: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 Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
unused_parens_json_suggestion.rs Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
unused_parens_json_suggestion.stderr Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
unused_parens_remove_json_suggestion.fixed Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
unused_parens_remove_json_suggestion.rs Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
unused_parens_remove_json_suggestion.stderr Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07: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 Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
warn-ctypes-inhibit.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
warn-path-statement.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
warn-path-statement.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03: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