rust/tests/ui/generic-associated-types
bors 828bdc2c26 Auto merge of #112849 - m-ou-se:panic-message-format, r=thomcc
Change default panic handler message format.

This changes the default panic hook's message format from:

```
thread '{thread}' panicked at '{message}', {location}
```

to

```
thread '{thread}' panicked at {location}:
{message}
```

This puts the message on its own line without surrounding quotes, making it easiser to read. For example:

Before:
```
thread 'main' panicked at 'env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`', src/main.rs:4:6
```
After:
```
thread 'main' panicked at src/main.rs:4:6:
env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`
```

---

See this PR by `@nyurik,` which does that for only multi-line messages (specifically because of `assert_eq`): https://github.com/rust-lang/rust/pull/111071

This is the change that does that for *all* panic messages.
2023-08-01 14:15:09 +00:00
..
auxiliary Format missing GATs correctly 2023-04-19 23:37:41 +00:00
bugs Remove another use of BrAnon(Some(_)). 2023-04-14 11:28:16 +10:00
extended
parse Rip it out 2023-05-01 16:15:13 +08: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 refactor(resolve): clean up the early error return caused by non-call 2023-05-10 22:35:01 +08:00
gat-bounds-normalize-pred.rs Subst gat normalize pred correctly 2023-03-22 18:16:01 +00:00
gat-bounds-not-checked-with-right-substitutions.rs Add a regression test for #112895 2023-07-06 02:50:22 +09:00
gat-bounds-not-checked-with-right-substitutions.stderr Add a regression test for #112895 2023-07-06 02:50:22 +09: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
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 Note base types of coercion 2023-05-12 00:10:52 +00:00
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 Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-79422.extended.stderr Note base types of coercion 2023-05-12 00:10:52 +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 change std::marker::Sized to just Sized 2023-06-15 12:01:38 +02:00
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 Treat opaque types failing the signature defining scope check as defining, as we already errored and can hide subsequent errors this way. 2023-06-22 15:36:42 +00:00
issue-88595.stderr Treat opaque types failing the signature defining scope check as defining, as we already errored and can hide subsequent errors this way. 2023-06-22 15:36:42 +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-tait2.rs Auto merge of #112849 - m-ou-se:panic-message-format, r=thomcc 2023-08-01 14:15:09 +00:00
issue-90014-tait2.stderr normalize backtrace error messages 2023-07-31 01:19:02 +08:00
issue-90014-tait.rs Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
issue-90014-tait.stderr Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
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-item-sugg.rs Format missing GATs correctly 2023-04-19 23:37:41 +00:00
missing-item-sugg.stderr Format missing GATs correctly 2023-04-19 23:37:41 +00: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 Remove repeated definite articles 2023-04-27 00:48:00 +08:00
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