rust/tests/ui/wf
Matthias Krüger 232eb698ed
Rollup merge of #110193 - compiler-errors:body-owner-issue, r=WaffleLapkin
Check for body owner fallibly in error reporting

Sometimes the "body id" we use for an obligation cause is not actually a body owner, like when we're doing WF checking on items.

Fixes #110157
2023-04-13 21:58:36 +02:00
..
hir-wf-canonicalized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hir-wf-canonicalized.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hir-wf-check-erase-regions.rs oops! new unsoundness 2023-03-05 12:49:01 +03:00
hir-wf-check-erase-regions.stderr oops! new unsoundness 2023-03-05 12:49:01 +03:00
issue-48638.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87495.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87495.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95665.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95665.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96810.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96810.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103573.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103573.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-110157.rs Check for body owner fallibly 2023-04-11 16:52:40 +00:00
issue-110157.stderr Check for body owner fallibly 2023-04-11 16:52:40 +00:00
wf-array-elem-sized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-array-elem-sized.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-complex-assoc-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-complex-assoc-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-const-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-const-type.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
wf-convert-unsafe-trait-obj-box.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-convert-unsafe-trait-obj-box.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-convert-unsafe-trait-obj.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-convert-unsafe-trait-obj.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-enum-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-enum-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-enum-fields-struct-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-enum-fields-struct-variant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-enum-fields.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-enum-fields.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-fn-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-fn-where-clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-foreign-fn-decl-ret.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-foreign-fn-decl-ret.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-impl-associated-type-region.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-impl-associated-type-region.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-impl-associated-type-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-impl-associated-type-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-impl-self-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-impl-self-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-ret.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-ret.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-type-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-type-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-type-ret.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-type-ret.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-type-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-type-static.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-fn-where-clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-foreign-fn-decls-issue-80468.rs Introduce ReError 2023-02-09 10:26:49 +00:00
wf-in-foreign-fn-decls-issue-80468.stderr Introduce ReError 2023-02-09 10:26:49 +00:00
wf-in-obj-type-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-obj-type-static.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-obj-type-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-in-obj-type-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-inherent-impl-method-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-inherent-impl-method-where-clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-inherent-impl-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-inherent-impl-where-clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-misc-methods-issue-28609.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-misc-methods-issue-28609.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-object-safe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-object-safe.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-outlives-ty-in-fn-or-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-outlives-ty-in-fn-or-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-packed-on-proj-of-type-as-unimpl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-packed-on-proj-of-type-as-unimpl-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-static-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-static-method.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-static-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-static-type.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
wf-struct-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-struct-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-struct-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-struct-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-associated-type-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-associated-type-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-associated-type-region.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-associated-type-region.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-associated-type-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-associated-type-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-default-fn-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-default-fn-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-default-fn-ret.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-default-fn-ret.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-default-fn-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-default-fn-where-clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-fn-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-fn-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-fn-ret.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-fn-ret.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-fn-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-fn-where-clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-superbound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-trait-superbound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-unsafe-trait-obj-match.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf-unsafe-trait-obj-match.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00