rust/tests/ui/lint
Matthias Krüger fbc121fdfd
Rollup merge of #104363 - WaffleLapkin:bonk_box_new, r=Nilstrieb
Make `unused_allocation` lint against `Box::new` too

Previously it only linted against `box` syntax, which likely won't ever be stabilized, which is pretty useless. Even now I'm not sure if it's a meaningful lint, but it's at least something 🤷

This means that code like the following will be linted against:
```rust
Box::new([1, 2, 3]).len();
f(&Box::new(1)); // where f : &i32 -> ()
```
The lint works by checking if a `Box::new` (or `box`) expression has an a borrow adjustment, meaning that the code that first stores the box in a variable won't be linted against:
```rust
let boxed = Box::new([1, 2, 3]); // no lint
boxed.len();
```
2023-03-11 15:43:11 +01:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dead-code Auto merge of #108324 - notriddle:notriddle/assoc-fn-method, r=compiler-errors,davidtwco,estebank,oli-obk 2023-02-23 00:19:12 +00:00
force-warn Move /src/test to /tests 2023-01-11 09:32:08 +00:00
known-tool-in-submodule Move /src/test to /tests 2023-01-11 09:32:08 +00:00
let_underscore Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_not_suspend Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
redundant-semicolon Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rfc-2383-lint-reason Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rfc-2457-non-ascii-idents Move /src/test to /tests 2023-01-11 09:32:08 +00:00
semicolon-in-expressions-from-macros Add SEMICOLON_IN_EXPRESSIONS_FROM_MACROS to future-incompat report 2023-01-21 14:38:25 -06:00
unsafe_code Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused Remove feature(box_syntax) from unused allocation list test 2023-03-03 19:02:35 +00:00
bad-lint-cap2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lint-cap2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lint-cap3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lint-cap3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lint-cap.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lint-cap.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-trait-objects-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-trait-objects-path.stderr When suggesting writing a fully qualified path probe for appropriate types 2023-01-11 21:30:10 +00:00
clashing-extern-fn-recursion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
clashing-extern-fn-wasm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
clashing-extern-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
clashing-extern-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cli-lint-override.forbid_warn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cli-lint-override.force_warn_deny.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cli-lint-override.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cli-lint-override.warn_deny.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cli-unknown-force-warn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cli-unknown-force-warn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-lint-group-allow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-lint-group-deny.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-lint-group-deny.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-lint-group-forbid.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-lint-group-forbid.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-lint-group-warn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-lint-group-warn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-register-lint-tool.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-register-unknown-lint-tool.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-register-unknown-lint-tool.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate_level_only_lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate_level_only_lint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deny-overflowing-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deny-overflowing-literals.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-lint-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enable-unstable-lib-feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enable-unstable-lib-feature.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expansion-time-include.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expansion-time.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expansion-time.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_attr_paren_order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_attr_paren_order.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn_must_use.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn_must_use.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
for_loop_over_fallibles.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
for_loop_over_fallibles.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-error-capped.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-group-group-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-group-group-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-group-group-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-group-group-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-group-member.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-group-member.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-member-group.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
forbid-member-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
function-item-references.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
function-item-references.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
future-incompat-test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
future-incompat-test.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inclusive-range-pattern-syntax.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inclusive-range-pattern-syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inclusive-range-pattern-syntax.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inert-attr-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inert-attr-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline-trait-and-foreign-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline-trait-and-foreign-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_value-polymorphic.rs Don't ICE in might_permit_raw_init if reference is polymorphic 2023-02-14 01:03:06 +00:00
invalid_value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_value.stderr lint: don't suggest assume_init for uninhabited types 2023-02-18 19:05:44 +01:00
issue-1866.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-1866.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14309.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14309.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14837.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-const-naming.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-const-naming.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-20343.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30302.rs Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
issue-30302.stderr Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
issue-31924-non-snake-ffi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34798.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35075.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35075.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47775-nested-macro-unnecessary-parens-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54099-camel-case-underscore-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-57410-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-57410.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-63364.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-63364.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66362-no-snake-case-warning-for-field-puns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66362-no-snake-case-warning-for-field-puns.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70819-dont-override-forbid-in-same-scope.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70819-dont-override-forbid-in-same-scope.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79546-fuel-ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79744.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79744.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80988.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80988.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81218.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83477.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83477.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86600-lint-twice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86600-lint-twice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87274-paren-parent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87274-paren-parent.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-89469.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97094.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97094.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99387.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101284.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102705.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103317.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103317.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103317.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103435-extra-parentheses.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103435-extra-parentheses.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103435-extra-parentheses.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104392.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104392.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104897.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
issue-104897.stderr remove duplicated diagnostic for unclosed delimiter 2023-02-28 07:57:17 +00:00
issue-106991.rs Add ui test for E0271 error 2023-02-23 13:57:13 +03:00
issue-106991.stderr Add ui test for E0271 error 2023-02-23 13:57:13 +03:00
issue-108155.rs Don't eagerly convert principal to string 2023-02-17 14:44:58 +00:00
lint_map_unit_fn.rs Add ui test for map_unit_fn lint in closure case 2023-02-23 13:57:13 +03:00
lint_map_unit_fn.stderr Add ui test for map_unit_fn lint in closure case 2023-02-23 13:57:13 +03:00
lint_pre_expansion_extern_module_aux.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-attr-everywhere-early.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-attr-everywhere-early.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-attr-everywhere-late.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-attr-everywhere-late.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-attr-non-item-node.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-attr-non-item-node.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-cap.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-change-warnings.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-change-warnings.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-const-item-mutation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-const-item-mutation.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-66202.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-5.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249-5.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73249.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73251-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73251-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73251-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73251-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73251.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-73747.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-enum.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ctypes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-deref-nullptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-deref-nullptr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-directives-on-use-items-issue-10534.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-directives-on-use-items-issue-10534.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-enum-intrinsics-non-enums.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-enum-intrinsics-non-enums.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-exceeding-bitshifts.noopt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-exceeding-bitshifts.opt_with_overflow_checks.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-exceeding-bitshifts.opt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-exceeding-bitshifts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-expr-stmt-attrs-for-early-lints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-ffi-safety-all-phantom.rs Mark ZST as FFI-safe if all its fields are PhantomData 2023-01-12 12:21:35 +01:00
lint-forbid-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-forbid-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-forbid-cmdline.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-forbid-cmdline.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-forbid-internal-unsafe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-forbid-internal-unsafe.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-group-nonstandard-style.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-group-nonstandard-style.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-impl-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-impl-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-incoherent-auto-trait-objects.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-incoherent-auto-trait-objects.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-bool.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-bool.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-exchange-weak.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-exchange-weak.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-exchange.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-exchange.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-false-positive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-fence.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-fence.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-fetch-update.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-fetch-update.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-int.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-int.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-ptr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-uint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-invalid-atomic-ordering-uint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-level-macro-def-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-level-macro-def.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-lowercase-static-const-pattern-rename.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-lowercase-static-const-pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-lowercase-static-const-pattern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-malformed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-malformed.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-match-arms.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-match-arms.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-misplaced-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-misplaced-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-missing-copy-implementations-allow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-missing-copy-implementations.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-missing-copy-implementations.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-missing-doc.rs diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
lint-missing-doc.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
lint-non-camel-case-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-camel-case-types.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-camel-case-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-camel-case-with-trailing-underscores.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-crate-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-crate-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-functions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-functions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-identifiers-suggestion-reserved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-identifiers-suggestion-reserved.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-lifetimes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-modules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-modules.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-snake-case-no-lowercase-equivalent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-uppercase-associated-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-uppercase-associated-const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-uppercase-statics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-non-uppercase-statics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-nonstandard-style-unicode-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-output-format-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-output-format-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-output-format.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-output-format.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-owned-heap-memory.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-owned-heap-memory.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-pre-expansion-extern-module.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-pre-expansion-extern-module.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-pub-unreachable-for-nested-glob.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-qualification.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-qualification.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-range-endpoint-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-range-endpoint-overflow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed-allow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed-allow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed-cmdline.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed-cmdline.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-removed.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed-allow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed-allow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed-cmdline.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed-cmdline.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-renamed.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-shorthand-field.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-shorthand-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-shorthand-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability-deprecated.rs diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
lint-stability-deprecated.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
lint-stability-fields-deprecated.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability-fields-deprecated.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability-fields.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability-fields.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-stability.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-strict-provenance-fuzzy-casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-strict-provenance-fuzzy-casts.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-strict-provenance-lossy-casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-strict-provenance-lossy-casts.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-temporary-cstring-as-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-temporary-cstring-as-param.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-temporary-cstring-as-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-temporary-cstring-as-ptr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-limits2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-limits2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-limits3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-limits3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-limits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-limits.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-overflow2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-overflow2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-type-overflow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unconditional-recursion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unconditional-recursion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unexported-no-mangle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unexported-no-mangle.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unknown-feature-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unknown-feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unknown-lint-cmdline.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unknown-lint-cmdline.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unknown-lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unknown-lint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unnecessary-import-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unnecessary-import-braces.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unnecessary-parens.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unnecessary-parens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unnecessary-parens.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unsafe-code.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unsafe-code.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-uppercase-variables.rs Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
lint-uppercase-variables.stderr Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
lints-in-foreign-macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lints-in-foreign-macros.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-doc-private-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-doc-private-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-coverage.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-coverage.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
noop-method-call.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
noop-method-call.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not_found.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not_found.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opaque-ty-ffi-normalization-cycle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opaque-ty-ffi-normalization-cycle.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opaque-ty-ffi-unsafe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opaque-ty-ffi-unsafe.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
outer-forbid.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
outer-forbid.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reasons-erroneous.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reasons-erroneous.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reasons-forbidden.rs Support true and false as boolean flag params 2023-01-18 20:46:36 +01:00
reasons-forbidden.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reasons.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reasons.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recommend-literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recommend-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
register-tool-lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
register-tool-lint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
renamed-lints-still-apply.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
renamed-lints-still-apply.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-group.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-renamed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-renamed.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
special-upper-lower-cases.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
special-upper-lower-cases.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggestions.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggestions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggestions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-allow-dead-extern-static-no-warning.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-inner-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-inner-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial_casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial_casts.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial-cast-ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial-casts-featuring-type-ascription.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial-casts-featuring-type-ascription.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial-casts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial-casts.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-overflow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unaligned_references_external_macro.rs make unaligned_reference a hard error 2023-01-31 20:28:11 +01:00
unaligned_references_external_macro.stderr make unaligned_reference a hard error 2023-01-31 20:28:11 +01:00
unaligned_references.rs Properly check for builtin derives 2023-02-16 19:44:03 +00:00
unaligned_references.stderr Properly check for builtin derives 2023-02-16 19:44:03 +00:00
unconditional_panic_98444.rs Add regression test for 98444 2023-03-06 13:41:07 +00:00
unconditional_panic_98444.stderr Add regression test for 98444 2023-03-06 13:41:07 +00:00
unnecessary-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnecessary-extern-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable_pub.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable_pub.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-async-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_braces_borrow.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_braces_borrow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_braces_borrow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_braces_macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_braces.fixed Fix regression in unused_braces with macros 2023-01-15 05:08:30 +00:00
unused_braces.rs Fix regression in unused_braces with macros 2023-01-15 05:08:30 +00:00
unused_braces.stderr Fix regression in unused_braces with macros 2023-01-15 05:08:30 +00:00
unused_import_warning_issue_45268.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_import_warning_issue_45268.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_labels.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_labels.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_parens_json_suggestion.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_parens_json_suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_parens_json_suggestion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_parens_multibyte_recovery.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
unused_parens_multibyte_recovery.stderr remove duplicated diagnostic for unclosed delimiter 2023-02-28 07:57:17 +00:00
unused_parens_remove_json_suggestion.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_parens_remove_json_suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_parens_remove_json_suggestion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_variables-issue-82488.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_variables-issue-82488.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_variables-issue-82488.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-borrows.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-borrows.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-braces-while-let-with-mutable-value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-qualification-in-derive-expansion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use_suggestion_json.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use_suggestion_json.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-redundant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-redundant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
warn-ctypes-inhibit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
warn-path-statement.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
warn-path-statement.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
warn-unused-inline-on-fn-prototypes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
warn-unused-inline-on-fn-prototypes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00