Files
rust/tests/ui
bors 4b91288484 Auto merge of #115486 - compiler-errors:dont-capture-late-pls, r=cjgillot
Correctly deny late-bound lifetimes from parent in anon consts and TAITs

Reuse the `AnonConstBoundary` scope (introduced in #108553, renamed in this PR to `LateBoundary`) to deny late-bound vars of *all* kinds (ty/const/lifetime) in anon consts and TAITs.

Side-note, but I would like to consolidate this with the error reporting for RPITs (E0657):
https://github.com/rust-lang/rust/blob/c4f25777a08cd64b710e8a9a6159e67cbb35e6f5/compiler/rustc_hir_analysis/src/collect/resolve_bound_vars.rs#L733-L754 but the semantics about what we're allowed to capture there are slightly different, so I'm leaving that untouched.

Fixes #115474
2023-09-20 03:34:51 +00:00
..
2023-09-18 14:03:57 +00:00
2023-05-30 13:03:40 +02:00
2023-07-17 22:06:32 +00:00
2023-09-06 12:09:29 +03:00
2023-09-13 15:00:31 +00:00
2023-08-07 19:06:18 +00:00
2023-09-10 23:06:14 +02:00
2023-08-28 17:47:37 -03:00
2023-09-19 11:14:35 +02:00
2023-08-28 17:47:37 -03:00
2023-09-13 15:00:31 +00:00
2023-08-28 17:47:37 -03:00
2023-08-30 14:10:52 +00:00
2023-08-18 15:08:07 +01:00
2023-04-29 13:01:46 +01:00
2023-09-07 11:07:33 +08:00
2023-07-29 11:47:26 +02:00
2023-09-16 01:28:13 -04:00
2023-04-03 09:24:11 +02:00
2023-09-08 15:12:17 +02:00
2023-08-04 16:19:55 +00:00
2023-08-06 13:34:53 +00:00
2023-08-14 16:57:51 -07:00
2023-05-08 03:36:30 +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-08-28 17:47:37 -03:00
2023-06-12 20:24:48 +08:00
2023-09-10 23:06:14 +02:00
2023-08-26 19:25:46 +00:00
2023-04-29 13:01:46 +01:00
2023-03-08 00:00:18 +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
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00