rust/src/test/ui/methods
Rustin-Liu b07e7fe047 Rename AssocKind::Method to AssocKind::Fn
Rename fn_has_self_argument to fn_has_self_parameter

Rename AssocItemKind::Method to AssocItemKind::Fn

Refine has_no_input_arg

Refine has_no_input_arg

Revert has_no_input_arg

Refine suggestion_descr

Move as_def_kind into AssocKind

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

Fix tidy check issue

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>
2020-04-14 07:12:07 +08:00
..
auxiliary tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
assign-to-method.rs Tweak tests 2020-02-25 00:28:39 +09:00
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 Remove blanket silencing of "type annotation needed" errors 2019-09-24 11:31:14 -07:00
method-ambig-one-trait-unknown-int-type.stderr Add more context for type parameters 2019-12-11 17:18:43 -08:00
method-ambig-two-traits-cross-crate.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-ambig-two-traits-cross-crate.stderr Rename AssocKind::Method to AssocKind::Fn 2020-04-14 07:12:07 +08:00
method-ambig-two-traits-from-bounds.rs Remove licenses 2018-12-25 21:08:33 -07:00
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 Add method disambiguation help for trait implementation 2019-07-24 03:03:52 +02:00
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 Add method disambiguation help for trait implementation 2019-07-24 03:03:52 +02:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
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 tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-call-err-msg.rs On mismatched argument count point at arguments 2020-02-11 12:42:00 -08:00
method-call-err-msg.stderr Do not suggest implementing traits if present in predicates 2020-02-28 11:37:59 -08:00
method-call-lifetime-args-fail.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-call-lifetime-args-fail.stderr Remove licenses 2018-12-25 21:08:33 -07:00
method-call-lifetime-args-lint-fail.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
method-call-lifetime-args-lint-fail.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
method-call-lifetime-args-lint.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-call-lifetime-args-lint.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
method-call-lifetime-args-subst-index.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
method-call-lifetime-args-unresolved.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-call-lifetime-args-unresolved.stderr When encountering an undefined named lifetime, point to where it can be 2020-01-19 17:31:33 -08:00
method-call-lifetime-args.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-call-lifetime-args.stderr Remove licenses 2018-12-25 21:08:33 -07:00
method-call-type-binding.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-call-type-binding.stderr Update tests 2019-03-11 23:10:26 +03:00
method-deref-to-same-trait-object-with-separate-params.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
method-deref-to-same-trait-object-with-separate-params.stderr Rename AssocKind::Method to AssocKind::Fn 2020-04-14 07:12:07 +08:00
method-early-bound-lifetimes-on-self.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-macro-backtrace.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-macro-backtrace.stderr Update tests 2019-03-11 23:10:26 +03:00
method-missing-call.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-missing-call.stderr Add span label to primary error span 2020-03-22 11:18:06 -07:00
method-mut-self-modifies-mut-slice-lvalue.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-normalize-bounds-issue-20604.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-on-ambiguous-numeric-type.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-on-ambiguous-numeric-type.stderr --bless some tests 2020-03-10 07:26:27 +01:00
method-path-in-pattern.rs update tests 2020-03-12 15:47:36 -05:00
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 tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-projection.rs Remove meaningless comments in src/test 2019-08-16 10:54:20 +01:00
method-recursive-blanket-impl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-resolvable-path-in-pattern.rs update tests 2020-03-12 15:47:36 -05:00
method-resolvable-path-in-pattern.stderr update tests 2020-03-12 15:47:36 -05:00
method-self-arg-1.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
method-self-arg-1.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
method-self-arg-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-self-arg-2.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
method-self-arg-aux1.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-self-arg-aux2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-self-arg-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-self-arg.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-trait-object-with-hrtb.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
method-two-trait-defer-resolution-1.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-two-trait-defer-resolution-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-two-traits-distinguished-via-where-clause.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-where-clause.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00