rust/tests/ui/type
Matthias Krüger cc61dc8b2d
Rollup merge of #127655 - RalfJung:invalid_type_param_default, r=compiler-errors
turn `invalid_type_param_default` into a `FutureReleaseErrorReportInDeps`

`````@rust-lang/types````` I assume the plan is still to disallow this? It has been a future-compat lint for a long time, seems ripe to go for hard error.

However, turns out that outright removing it right now would lead to [tons of crater regressions](https://github.com/rust-lang/rust/pull/127655#issuecomment-2228285460), so for now this PR just makes this future-compat lint show up in cargo's reports, so people are warned when they use a dependency that is affected by this.

Fixes https://github.com/rust-lang/rust/issues/27336 by removing the feature gate (so there's no way to silence the lint even on nightly)
CC https://github.com/rust-lang/rust/issues/36887
2024-08-05 05:40:19 +02:00
..
ascription Use more accurate span for : to :: suggestion 2024-07-12 03:02:58 +00:00
auxiliary
pattern_types Mark Parser::eat/check methods as must_use 2024-07-29 21:29:08 -04:00
type-check Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
binding-assigned-block-without-tail-expression.rs
binding-assigned-block-without-tail-expression.stderr
clarify-error-for-generics-with-default-issue-120785.rs
clarify-error-for-generics-with-default-issue-120785.stderr
closure-with-wrong-borrows.rs
closure-with-wrong-borrows.stderr
default_type_parameter_in_fn_or_impl.rs make invalid_type_param_default lint show up in cargo future-compat reports 2024-07-15 22:05:45 +02:00
default_type_parameter_in_fn_or_impl.stderr make invalid_type_param_default lint show up in cargo future-compat reports 2024-07-15 22:05:45 +02:00
issue-7607-1.rs
issue-7607-1.stderr
issue-7607-2.rs
issue-58355.rs
issue-58355.stderr
issue-67690-type-alias-bound-diagnostic-crash.rs Improve the impl and diag output of lint type_alias_bounds 2024-07-23 01:48:03 +02:00
issue-67690-type-alias-bound-diagnostic-crash.stderr Improve the impl and diag output of lint type_alias_bounds 2024-07-23 01:48:03 +02:00
issue-91268.rs
issue-91268.stderr
issue-94187-verbose-type-name.rs
issue-100584.rs
issue-100584.stderr
issue-101866.rs
issue-101866.stderr
issue-102598.rs
issue-102598.stderr
issue-103271.rs
issue-103271.stderr
missing-let-in-binding-2.fixed
missing-let-in-binding-2.rs
missing-let-in-binding-2.stderr
missing-let-in-binding-3.rs
missing-let-in-binding-3.stderr
missing-let-in-binding-4.rs
missing-let-in-binding-4.stderr
missing-let-in-binding.fixed
missing-let-in-binding.rs
missing-let-in-binding.stderr
option-ref-advice.rs
option-ref-advice.stderr
type-alias-bounds.rs Improve the impl and diag output of lint type_alias_bounds 2024-07-23 01:48:03 +02:00
type-alias-bounds.stderr Improve the impl and diag output of lint type_alias_bounds 2024-07-23 01:48:03 +02:00
type-annotation-needed.rs
type-annotation-needed.stderr
type-arg-out-of-scope.rs
type-arg-out-of-scope.stderr
type-ascription-instead-of-initializer.rs
type-ascription-instead-of-initializer.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
type-ascription-instead-of-statement-end.rs
type-ascription-instead-of-statement-end.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
type-ascription-precedence.rs
type-ascription-precedence.stderr
type-ascription-soundness.rs
type-ascription-soundness.stderr
type-ascription-with-fn-call.fixed
type-ascription-with-fn-call.rs
type-ascription-with-fn-call.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
type-ascription.rs
type-check-defaults.rs
type-check-defaults.stderr
type-dependent-def-issue-49241.rs
type-dependent-def-issue-49241.stderr Use verbose style when suggesting changing const with let 2024-07-11 20:39:24 +00:00
type-error-break-tail.rs
type-error-break-tail.stderr
type-mismatch-multiple.rs
type-mismatch-multiple.stderr
type-mismatch-same-crate-name.rs
type-mismatch-same-crate-name.stderr
type-mismatch.rs
type-mismatch.stderr
type-parameter-defaults-referencing-Self-ppaux.rs
type-parameter-defaults-referencing-Self-ppaux.stderr
type-parameter-defaults-referencing-Self.rs
type-parameter-defaults-referencing-Self.stderr
type-parameter-names.rs
type-parameter-names.stderr
type-params-in-different-spaces-1.rs
type-params-in-different-spaces-1.stderr
type-params-in-different-spaces-2.rs
type-params-in-different-spaces-2.stderr
type-params-in-different-spaces-3.rs
type-params-in-different-spaces-3.stderr
type-path-err-node-types.rs
type-path-err-node-types.stderr
type-recursive-box-shadowed.rs
type-recursive-box-shadowed.stderr
type-recursive.rs
type-recursive.stderr
type-shadow.rs
type-shadow.stderr
type-unsatisfiable.rs
type-unsatisfiable.usage.stderr
verbose.normal.stderr
verbose.rs
verbose.verbose.stderr
wrong-call-return-type-due-to-generic-arg.rs
wrong-call-return-type-due-to-generic-arg.stderr