rust/src/test/ui/moves
Aaron Hill fa6a61c689
Explain move errors that occur due to method calls involving self
This is a re-attempt of #72389 (which was reverted in #73594)
Instead of using `ExpnKind::Desugaring` to represent operators, this PR
checks the lang item directly.
2020-06-26 16:28:09 -04:00
..
issue-46099-move-in-macro.rs Fix spurious 'value moved here in previous iteration of loop' messages 2020-06-21 21:27:34 -04:00
issue-46099-move-in-macro.stderr Fix spurious 'value moved here in previous iteration of loop' messages 2020-06-21 21:27:34 -04:00
move-1-unique.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-2-unique.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-3-unique.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-4-unique.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-4.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-arg-2-unique.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-arg-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-arg.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-fn-self-receiver.rs Explain move errors that occur due to method calls involving self 2020-06-26 16:28:09 -04:00
move-fn-self-receiver.stderr Explain move errors that occur due to method calls involving self 2020-06-26 16:28:09 -04:00
move-guard-same-consts.rs
move-guard-same-consts.stderr
move-in-guard-1.rs
move-in-guard-1.stderr
move-in-guard-2.rs
move-in-guard-2.stderr Fix spurious 'value moved here in previous iteration of loop' messages 2020-06-21 21:27:34 -04:00
move-into-dead-array-1.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
move-into-dead-array-1.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
move-into-dead-array-2.rs
move-into-dead-array-2.stderr
move-nullary-fn.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-out-of-array-1.rs
move-out-of-array-1.stderr
move-out-of-array-ref.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
move-out-of-array-ref.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
move-out-of-field.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
move-out-of-slice-1.rs
move-out-of-slice-1.stderr
move-out-of-slice-2.rs move_ref_patterns: introduce tests 2020-02-02 14:13:07 +01:00
move-out-of-slice-2.stderr Add more tests for slice patterns 2019-12-21 12:29:30 +00:00
move-out-of-tuple-field.rs
move-out-of-tuple-field.stderr
move-scalar.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
moves-based-on-type-access-to-field.rs
moves-based-on-type-access-to-field.stderr Explain move errors that occur due to method calls involving self 2020-06-26 16:28:09 -04:00
moves-based-on-type-block-bad.rs
moves-based-on-type-block-bad.stderr
moves-based-on-type-capture-clause-bad.rs
moves-based-on-type-capture-clause-bad.stderr
moves-based-on-type-capture-clause.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
moves-based-on-type-cyclic-types-issue-4821.rs
moves-based-on-type-cyclic-types-issue-4821.stderr Provide suggestions for some moved value errors 2020-06-24 17:42:26 -07:00
moves-based-on-type-distribute-copy-over-paren.rs
moves-based-on-type-distribute-copy-over-paren.stderr
moves-based-on-type-exprs.rs
moves-based-on-type-exprs.stderr Explain move errors that occur due to method calls involving self 2020-06-26 16:28:09 -04:00
moves-based-on-type-match-bindings.rs
moves-based-on-type-match-bindings.stderr
moves-based-on-type-move-out-of-closure-env-issue-1965.rs
moves-based-on-type-move-out-of-closure-env-issue-1965.stderr
moves-based-on-type-no-recursive-stack-closure.rs
moves-based-on-type-no-recursive-stack-closure.stderr Tweak suggest_constraining_type_param 2020-03-29 13:13:17 -07:00
moves-based-on-type-tuple.rs
moves-based-on-type-tuple.stderr
moves-sru-moved-field.rs
moves-sru-moved-field.stderr