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-09-19 12:48:40 +00:00
2023-10-08 10:06:17 +00:00
2023-09-22 18:57:27 +03: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-05-30 13:03:40 +02: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-07-17 22:06:32 +00:00
2023-09-19 12:48:40 +00:00
2023-09-06 12:09:29 +03: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-09-23 13:47:30 +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-09-13 15:00:31 +00:00
2023-08-28 17:47:37 -03:00
2023-10-08 10:06:17 +00:00
2023-04-29 13:01:46 +01:00
2023-07-29 11:47:26 +02: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-04-03 09:24:11 +02:00
2023-08-06 13:34:53 +00:00
2023-08-14 16:57:51 -07:00
2023-10-02 23:14:29 +00:00
2023-03-29 18:04:44 -04:00
2023-08-15 00:57:18 +08:00
2023-09-18 17:29:13 +01:00
2023-10-05 01:04:41 +00:00
2023-10-13 19:18:46 +00:00
2023-08-26 19:25:46 +00:00
2023-04-29 13:01:46 +01:00
2023-10-05 01:04:41 +00:00
2023-10-08 10:06:17 +00:00
2023-04-13 22:10:26 -05:00
2023-04-13 22:10:26 -05:00
2023-09-10 23:06:14 +02:00
2023-09-10 23:06:14 +02:00