rust/src/test/ui/moves
bstrie 90a2e5e3fe Update tests to remove old numeric constants
Part of #68490.

Care has been taken to leave the old consts where appropriate, for testing backcompat regressions, module shadowing, etc. The intrinsics docs were accidentally referring to some methods on f64 as std::f64, which I changed due to being contrary with how we normally disambiguate the shadow module from the primitive. In one other place I changed std::u8 to std::ops since it was just testing path handling in macros.

For places which have legitimate uses of the old consts, deprecated attributes have been optimistically inserted. Although currently unnecessary, they exist to emphasize to any future deprecation effort the necessity of these specific symbols and prevent them from being accidentally removed.
2020-11-29 00:55:55 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-75904-move-closure-loop.rs Point to a move-related span when pointing to closure upvars 2020-08-26 02:11:01 -04:00
issue-75904-move-closure-loop.stderr Point to a move-related span when pointing to closure upvars 2020-08-26 02:11:01 -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-deref-coercion.rs Note when a a move/borrow error is caused by a deref coercion 2020-09-10 20:56:20 -04:00
move-deref-coercion.stderr Note when a a move/borrow error is caused by a deref coercion 2020-09-10 20:56:20 -04: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
move-guard-same-consts.rs
move-guard-same-consts.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
move-in-guard-1.rs
move-in-guard-1.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
move-in-guard-2.rs
move-in-guard-2.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Make tidy happy 2020-10-27 14:45:34 -03:00
move-out-of-slice-2.stderr Add unsized_locals to INCOMPLETE_FEATURES list 2020-10-27 14:45:28 -03:00
move-out-of-tuple-field.rs
move-out-of-tuple-field.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-block-bad.rs
moves-based-on-type-block-bad.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-capture-clause-bad.rs
moves-based-on-type-capture-clause-bad.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
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 Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
moves-based-on-type-cyclic-types-issue-4821.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-distribute-copy-over-paren.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-distribute-copy-over-paren.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-exprs.rs
moves-based-on-type-exprs.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-match-bindings.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-match-bindings.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-based-on-type-move-out-of-closure-env-issue-1965.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
moves-based-on-type-move-out-of-closure-env-issue-1965.stderr Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
moves-sru-moved-field.rs
moves-sru-moved-field.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00