rust/src/test/ui/methods
Felix S. Klock II 532332fa8f Test exploring the interactions between all of the different kinds of method collisions I could imagine.
The different impls are all guarded by cfg-flags, and the revisions could be
used to cover the full power-set of combinations.

(I only included 20 of the possible 32 cases here; the null-set is not
interesting, and the remaining 11 all yielded ambiguous method resolution errors
which did not mix well with this testing strategy; I'm not trying to check UI
for the resolution diagnostics; I'm trying to create checkpoint of current
resolution semantics when compilation succeeds.)
2021-02-01 17:08:37 -05:00
..
auxiliary
assign-to-method.rs
assign-to-method.stderr Add span label to primary error span 2020-03-22 11:18:06 -07:00
method-ambig-one-trait-unknown-int-type.rs
method-ambig-one-trait-unknown-int-type.stderr Say "doesn't" instead of "wouldn't" in convert message 2020-09-29 19:27:58 -07:00
method-ambig-two-traits-cross-crate.rs
method-ambig-two-traits-cross-crate.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
method-ambig-two-traits-from-bounds.rs
method-ambig-two-traits-from-bounds.stderr Rename AssocKind::Method to AssocKind::Fn 2020-04-14 07:12:07 +08:00
method-ambig-two-traits-from-impls.rs
method-ambig-two-traits-from-impls.stderr Rename AssocKind::Method to AssocKind::Fn 2020-04-14 07:12:07 +08:00
method-ambig-two-traits-from-impls2.rs
method-ambig-two-traits-from-impls2.stderr Rename AssocKind::Method to AssocKind::Fn 2020-04-14 07:12:07 +08:00
method-ambig-two-traits-with-default-method.rs
method-ambig-two-traits-with-default-method.stderr Rename AssocKind::Method to AssocKind::Fn 2020-04-14 07:12:07 +08:00
method-argument-inference-associated-type.rs
method-call-err-msg.rs Avoid describing a method as 'not found' when bounds are unsatisfied 2021-01-26 23:59:50 -05:00
method-call-err-msg.stderr Avoid describing a method as 'not found' when bounds are unsatisfied 2021-01-26 23:59:50 -05:00
method-call-lifetime-args-fail.rs Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
method-call-lifetime-args-fail.stderr Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
method-call-lifetime-args-lint-fail.rs
method-call-lifetime-args-lint-fail.stderr
method-call-lifetime-args-lint.rs
method-call-lifetime-args-lint.stderr
method-call-lifetime-args-subst-index.rs
method-call-lifetime-args-unresolved.rs
method-call-lifetime-args-unresolved.stderr Tweak wording 2020-07-10 07:24:18 +09:00
method-call-lifetime-args.rs
method-call-lifetime-args.stderr
method-call-type-binding.rs
method-call-type-binding.stderr
method-deref-to-same-trait-object-with-separate-params.rs Make tidy happy 2020-10-27 14:45:34 -03:00
method-deref-to-same-trait-object-with-separate-params.stderr Make tidy happy 2020-10-27 14:45:34 -03:00
method-early-bound-lifetimes-on-self.rs
method-lookup-order.rs Test exploring the interactions between all of the different kinds of method collisions I could imagine. 2021-02-01 17:08:37 -05:00
method-macro-backtrace.rs
method-macro-backtrace.stderr
method-missing-call.rs
method-missing-call.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
method-mut-self-modifies-mut-slice-lvalue.rs
method-normalize-bounds-issue-20604.rs
method-on-ambiguous-numeric-type.rs
method-on-ambiguous-numeric-type.stderr
method-path-in-pattern.rs
method-path-in-pattern.stderr rustc_typeck: remove rustc_hir_pretty usage 2020-03-24 08:38:32 +01:00
method-probe-no-guessing-dyn-trait.rs
method-projection.rs
method-recursive-blanket-impl.rs
method-resolvable-path-in-pattern.rs
method-resolvable-path-in-pattern.stderr
method-self-arg-1.rs
method-self-arg-1.stderr
method-self-arg-2.rs
method-self-arg-2.stderr
method-self-arg-aux1.rs
method-self-arg-aux2.rs
method-self-arg-trait.rs
method-self-arg.rs
method-trait-object-with-hrtb.rs
method-two-trait-defer-resolution-1.rs
method-two-trait-defer-resolution-2.rs
method-two-traits-distinguished-via-where-clause.rs
method-where-clause.rs