Files
rust/tests/ui
Matthias Krüger b0572f1a12 Rollup merge of #116802 - compiler-errors:anchor-opaque-wf, r=oli-obk
Remove `DefiningAnchor::Bubble` from opaque wf check

Set the defining anchor to `DefiningAnchor::Bind(parent_def_id)` where `parent_def_id` is the first parent def-id that isn't an opaque.

This "fixes" some of the nested-return-type wf tests. If we *do* want these to be hard-errors for TAITs, we should probably make those error separately from this check (i.e. via some check like the code in the `OPAQUE_HIDDEN_INFERRED_BOUND` lint). The fact that some of these tests fail but not all of them seems kinda coincidental.

r? oli-obk
2023-10-16 19:10:51 +02:00
..
2023-10-06 11:02:11 +00:00
…
2023-10-08 10:06:17 +00:00
…
2023-10-05 01:04:41 +00:00
2023-10-04 08:01:11 +08:00
2023-10-08 10:06:17 +00:00
2023-10-16 13:52:19 +02:00
2023-10-04 08:01:11 +08:00
2023-10-04 18:12:20 +11:00
…
…
…
2023-10-12 21:50:18 +00:00
2023-10-13 21:01:36 +00:00
…
2023-10-08 10:06:17 +00:00
…
2023-10-08 10:06:17 +00:00
…
2023-10-08 10:06:17 +00:00
2023-10-11 04:55:55 +02:00
…
…
…
2023-10-08 10:06:17 +00:00
…
2023-10-11 04:55:55 +02:00
2023-10-08 10:06:17 +00:00
2023-10-05 01:04:41 +00:00
2023-10-13 21:01:36 +00:00
…
…
2023-10-02 23:14:29 +00:00
…
…
2023-10-05 01:04:41 +00:00
2023-10-13 19:18:46 +00:00
…
2023-10-05 01:04:41 +00:00
…
2023-10-08 10:06:17 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…