rust/tests/ui/delegation
Matthias Krüger 4265043aae
Rollup merge of #126497 - petrochenkov:delehyg, r=compiler-errors
delegation: Fix hygiene for `self`

And fix diagnostics for `self` from a macro.

The missing rib caused `self` to be treated as a generic parameter and ignore `macro_rules` hygiene.

Addresses this comment https://github.com/rust-lang/rust/pull/124135#discussion_r1637492234.
2024-06-15 10:56:43 +02:00
..
auxiliary delegation: Support async, const, extern "ABI" and C-variadic functions 2024-04-23 23:05:39 +03:00
bad-resolve.rs delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
bad-resolve.stderr delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
body-identity-list.rs delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
duplicate-definition-inside-trait-impl.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
duplicate-definition-inside-trait-impl.stderr Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
empty-list.rs delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
empty-list.stderr delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
explicit-paths-in-traits-pass.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
explicit-paths-pass.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
explicit-paths-signature-pass.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
explicit-paths.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
explicit-paths.stderr Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
fn-header.rs delegation: Support async, const, extern "ABI" and C-variadic functions 2024-04-23 23:05:39 +03:00
ice-issue-122550.rs Delegation: fix ICE on bound_vars divergence 2024-03-22 17:24:41 +03:00
ice-issue-122550.stderr Delegation: fix ICE on bound_vars divergence 2024-03-22 17:24:41 +03:00
ice-issue-124342.rs Delegation: fix ICE on late diagnostics 2024-06-10 19:25:34 +03:00
ice-issue-124342.stderr Delegation: fix ICE on late diagnostics 2024-06-10 19:25:34 +03:00
ice-issue-124347.rs Delegation: fix ICE on recursive delegation 2024-06-10 21:27:25 +03:00
ice-issue-124347.stderr Delegation: fix ICE on recursive delegation 2024-06-10 21:27:25 +03:00
impl-trait.rs delegation: Support async, const, extern "ABI" and C-variadic functions 2024-04-23 23:05:39 +03:00
inner-attr.rs delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
inner-attr.stderr delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
list.rs delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
macro-inside-list.rs delegation: Fix hygiene for self 2024-06-15 00:45:05 +03:00
not-supported.rs Bless a test 2024-06-13 12:24:31 +02:00
not-supported.stderr Point out exactly what obligation will fail 2024-06-13 21:47:43 -04:00
parse.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
rename.rs delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
self-hygiene.rs delegation: Fix hygiene for self 2024-06-15 00:45:05 +03:00
self-hygiene.stderr delegation: Fix hygiene for self 2024-06-15 00:45:05 +03:00
target-expr-pass.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
target-expr-pass.stderr Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
target-expr.rs Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00
target-expr.stderr Delegation: fix ICE on wrong instantiation 2024-03-27 15:51:48 +03:00