rust/tests/ui/generic-associated-types
Matthias Krüger f3c6955249
Rollup merge of #110276 - nnethercote:rm-BrAnon-Span, r=jackh726
Remove all but one of the spans in `BoundRegionKind::BrAnon`

There are only three places where `BoundRegionKind::BrAnon` uses `Some(span)` instead of `None`. Two of them are easy to remove, which this PR does.

r? ```@jackh726```
2023-04-14 07:58:41 +02:00
..
auxiliary
bugs Remove another use of BrAnon(Some(_)). 2023-04-14 11:28:16 +10:00
extended
parse diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
anonymize-bound-vars.rs
collections-project-default.rs
collections-project-default.stderr Fix unquoted projection types in label 2023-01-30 22:02:30 +00:00
collections.rs
collectivity-regression.rs
collectivity-regression.stderr Add 'static lifetime suggestion when GAT implied 'static requirement from HRTB 2023-01-17 11:52:45 -08:00
const_params_have_right_type.rs
const_params_have_right_type.stderr
const-generics-gat-in-trait-return-type-1.rs
const-generics-gat-in-trait-return-type-2.rs
const-generics-gat-in-trait-return-type-3.rs
constraint-assoc-type-suggestion.rs
constraint-assoc-type-suggestion.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
construct_with_other_type.rs
cross-crate-bounds.rs
cross-crate-bounds.stderr
elided-in-expr-position.rs
elided-in-expr-position.stderr
empty_generics.rs
empty_generics.stderr
equality-bound.rs
equality-bound.stderr
gat-bounds-normalize-pred.rs Subst gat normalize pred correctly 2023-03-22 18:16:01 +00:00
gat-in-trait-path-undeclared-lifetime.rs
gat-in-trait-path-undeclared-lifetime.stderr
gat-in-trait-path.base.stderr
gat-in-trait-path.rs
gat-trait-path-generic-type-arg.rs
gat-trait-path-generic-type-arg.stderr
gat-trait-path-missing-lifetime.rs
gat-trait-path-missing-lifetime.stderr
gat-trait-path-parenthesised-args.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
gat-trait-path-parenthesised-args.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
generic_associated_type_undeclared_lifetimes.rs
generic_associated_type_undeclared_lifetimes.stderr
generic-associated-type-bounds.rs
generic-associated-types-where.rs
generic-associated-types-where.stderr
impl_bounds_ok.rs
impl_bounds.rs
impl_bounds.stderr Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
issue-47206-where-clause.rs
issue-47206-where-clause.stderr
issue-58694-parameter-out-of-range.rs
issue-62326-parameter-out-of-range.rs
issue-67424.rs
issue-67510-pass.base.stderr
issue-67510-pass.rs
issue-67510.rs
issue-67510.stderr
issue-68641-check-gat-bounds.rs
issue-68641-check-gat-bounds.stderr
issue-68642-broken-llvm-ir.rs
issue-68642-broken-llvm-ir.stderr
issue-68643-broken-mir.rs
issue-68643-broken-mir.stderr
issue-68644-codegen-selection.rs
issue-68644-codegen-selection.stderr
issue-68645-codegen-fulfillment.rs
issue-68645-codegen-fulfillment.stderr
issue-68648-1.rs
issue-68648-2.rs
issue-68648-2.stderr
issue-68649-pass.rs
issue-68653.rs
issue-68656-unsized-values.rs
issue-68656-unsized-values.stderr Modify existing bounds if they exist 2023-02-06 11:26:36 -08:00
issue-70303.rs
issue-70304.rs
issue-70304.stderr
issue-71176.rs
issue-71176.stderr
issue-74684-1.rs
issue-74684-1.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
issue-74684-2.rs
issue-74684-2.stderr
issue-74816.rs
issue-74816.stderr
issue-74824.rs
issue-74824.stderr Keep obligation chain when elaborating obligations 2023-01-13 18:20:23 +00:00
issue-76407.rs
issue-76535.base.stderr
issue-76535.extended.stderr
issue-76535.rs
issue-76826.rs
issue-78113-lifetime-mismatch-dyn-trait-box.rs
issue-78113-lifetime-mismatch-dyn-trait-box.stderr
issue-78671.base.stderr
issue-78671.extended.stderr
issue-78671.rs
issue-79422.base.stderr
issue-79422.extended.stderr Mention fn coercion rules (needs to be expanded) 2023-01-30 21:51:33 +00:00
issue-79422.rs
issue-79636-1.rs
issue-79636-1.stderr
issue-79636-2.rs
issue-79636-2.stderr
issue-80433-reduced.rs
issue-80433.rs
issue-80433.stderr
issue-81487.rs
issue-81712-cyclic-traits.rs
issue-81712-cyclic-traits.stderr
issue-81862.rs
issue-81862.stderr
issue-84931.rs
issue-84931.stderr
issue-85921.rs
issue-86218-2.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-86218.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-86483.rs
issue-86787.rs
issue-86787.stderr
issue-87258_a.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-87258_a.stderr
issue-87258_b.rs
issue-87258_b.stderr
issue-87429-2.rs
issue-87429-associated-type-default.rs
issue-87429-associated-type-default.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
issue-87429-specialization.rs
issue-87429-specialization.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
issue-87429.rs
issue-87748.rs
issue-87750.rs
issue-88287.rs
issue-88287.stderr
issue-88360.fixed Fix #106496, suggest remove deref for type mismatch 2023-01-23 00:42:20 +08:00
issue-88360.rs Fix #106496, suggest remove deref for type mismatch 2023-01-23 00:42:20 +08:00
issue-88360.stderr Fix #106496, suggest remove deref for type mismatch 2023-01-23 00:42:20 +08:00
issue-88405.rs
issue-88459.rs
issue-88595.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-88595.stderr Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-89008.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-89352.rs
issue-90014.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-90014.stderr Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-90729.rs
issue-91139.migrate.stderr
issue-91139.rs
issue-91139.stderr
issue-91883.rs
issue-91883.stderr
issue-92033.rs
issue-92033.stderr
issue-92096.migrate.stderr
issue-92096.rs
issue-92096.stderr
issue-92280.rs
issue-92954.rs
issue-93141.rs
issue-93262.rs
issue-93340.rs
issue-93341.rs
issue-93342.rs
issue-93874.rs
issue-95305.rs
issue-95305.stderr
issue-101020.rs
issue-101020.stderr Specify what 'this' actually is 2023-02-21 05:21:07 +00:00
issue-102114.rs
issue-102114.stderr
issue-102333.rs
issue-102335-gat.rs
issue-102335-gat.stderr
iterable.rs
method-unsatisfied-assoc-type-predicate.rs Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
method-unsatisfied-assoc-type-predicate.stderr Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
mismatched-where-clause-regions.rs
mismatched-where-clause-regions.stderr
missing_lifetime_args.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
missing_lifetime_args.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
missing_lifetime_const.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
missing_lifetime_const.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
missing-bounds.fixed Modify existing bounds if they exist 2023-02-06 11:26:36 -08:00
missing-bounds.rs
missing-bounds.stderr Modify existing bounds if they exist 2023-02-06 11:26:36 -08:00
missing-where-clause-on-trait.rs
missing-where-clause-on-trait.stderr
own-bound-span.rs
own-bound-span.stderr
parameter_number_and_kind_impl.rs
parameter_number_and_kind_impl.stderr
parameter_number_and_kind.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
parameter_number_and_kind.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
pointer_family.rs
projection-bound-cycle-generic.rs
projection-bound-cycle-generic.stderr
projection-bound-cycle.rs
projection-bound-cycle.stderr
projection-type-lifetime-mismatch.rs
projection-type-lifetime-mismatch.stderr
self-outlives-lint.rs
self-outlives-lint.stderr
shadowing.rs
shadowing.stderr
streaming_iterator.rs
trait-objects.base.stderr
trait-objects.extended.stderr
trait-objects.rs
type-param-defaults.rs
type-param-defaults.stderr
unsatisfied-item-lifetime-bound.rs Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
unsatisfied-item-lifetime-bound.stderr Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
unsatisfied-outlives-bound.rs
unsatisfied-outlives-bound.stderr
variance_constraints.rs