rust/tests/ui/self
Matthias Krüger 8d66f01ab5
Rollup merge of #110982 - cjgillot:elided-self-const, r=petrochenkov
Do not recurse into const generic args when resolving self lifetime elision.

Fixes https://github.com/rust-lang/rust/issues/110899

r? `@petrochenkov`
2023-05-04 19:18:20 +02:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elision Do not recurse into const generic args when resolving self lifetime elision. 2023-05-03 18:07:53 +00:00
arbitrary_self_types_nested.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_pin_lifetime_impl_trait-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_pin_lifetime_impl_trait-async.stderr Label opaque type for 'captures lifetime' error message 2023-03-03 05:02:34 +00:00
arbitrary_self_types_pin_lifetime_impl_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_pin_lifetime_impl_trait.stderr Label opaque type for 'captures lifetime' error message 2023-03-03 05:02:34 +00:00
arbitrary_self_types_pin_lifetime_mismatch-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_pin_lifetime_mismatch-async.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
arbitrary_self_types_pin_lifetime_mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_pin_lifetime_mismatch.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
arbitrary_self_types_pin_lifetime-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_pin_lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_pointers_and_wrappers.rs impl DispatchFromDyn for Cell and UnsafeCell 2023-01-24 12:06:12 +01:00
arbitrary_self_types_raw_pointer_struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_raw_pointer_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_silly.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_stdlib_pointers.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_self_types_trait.rs Add unuseless #[allow(unused_allocation)] 2023-03-03 17:47:48 +00:00
arbitrary_self_types_unsized_struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary-self-types-not-object-safe.curr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary-self-types-not-object-safe.object_safe_for_dispatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary-self-types-not-object-safe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
builtin-superkinds-self-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
by-value-self-in-mut-slot.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-missing-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-missing-self.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
explicit_self_xcrate_exe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explicit-self-closures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explicit-self-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explicit-self-objects-uniq.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explicit-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61882-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61882-2.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
issue-61882.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61882.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
move-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-sized-self-by-value-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-sized-self-generic-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-sized-self-return-Self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
objects-owned-object-owned-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-at-arbitrary-self-type-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-at-arbitrary-self-type-method.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-at-arbitrary-self-type-trait-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-at-arbitrary-self-type-trait-method.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self_lifetime-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self_lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self_type_keyword-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self_type_keyword-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self_type_keyword.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self_type_keyword.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-ctor-inner-const.rs Validate resolution for SelfCtor too. 2023-05-03 17:55:27 +00:00
self-ctor-inner-const.stderr Validate resolution for SelfCtor too. 2023-05-03 17:55:27 +00:00
self-impl-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-impl.stderr When suggesting writing a fully qualified path probe for appropriate types 2023-01-11 21:30:10 +00:00
self-in-mut-slot-default-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-in-mut-slot-immediate-value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-in-typedefs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-infer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-infer.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-re-assign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-shadowing-import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-type-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-vs-path-ambiguity.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-vs-path-ambiguity.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
string-self-append.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-self-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-self-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-self.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ufcs-explicit-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
uniq-self-in-mut-slot.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
where-for-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00