rust/tests/ui/delegation
Matthias Krüger 4d1fb9e98a
Rollup merge of #123091 - Bryanskiy:delegation-fixes, r=petrochenkov
Delegation: fix ICE on wrong `self` resolution

fixes https://github.com/rust-lang/rust/issues/122874

Delegation item should be wrapped in a `rib` to behave like a regular function during name resolution.

r? `@petrochenkov`
2024-03-26 17:06:43 +01:00
..
bad-resolve.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
bad-resolve.stderr Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
duplicate-definition-inside-trait-impl.rs Delegation: fix ICE on duplicated associative items 2024-03-16 21:03:36 +03:00
duplicate-definition-inside-trait-impl.stderr Delegation: fix ICE on duplicated associative items 2024-03-16 21:03:36 +03:00
explicit-paths-in-traits-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
explicit-paths-in-traits-pass.stderr Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
explicit-paths-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
explicit-paths-pass.stderr Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
explicit-paths-signature-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
explicit-paths-signature-pass.stderr Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
explicit-paths.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
explicit-paths.stderr Delegation implementation: step 1 2024-01-12 14:11:16 +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
not-supported.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
not-supported.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
parse.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
parse.stderr Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
target-expr-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
target-expr-pass.stderr Update tests 2024-02-07 10:42:01 +08:00
target-expr.rs Delegation: fix ICE on wrong self resolution 2024-03-26 14:00:51 +03:00
target-expr.stderr Delegation: fix ICE on wrong self resolution 2024-03-26 14:00:51 +03:00