rust/src/test/ui/numeric
Matthias Krüger 8ed0384ca4
Rollup merge of #105161 - cassaundra:numeric-literal-error, r=nnethercote
Refine when invalid prefix case error arises

Fix cases where the "invalid base prefix for number literal" error arises with suffixes that look erroneously capitalized but which are actually invalid.
2022-12-14 10:31:05 +01:00
..
numeric-suffix Implementation for 65853 2022-04-16 02:26:56 -04:00
const-scope.rs
const-scope.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
integer-literal-suffix-inference.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
integer-literal-suffix-inference.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
len.rs
len.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
numeric-cast-2.rs
numeric-cast-2.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
numeric-cast-binop.fixed fixup! Provide suggestion to convert numeric op LHS rather than unwrapping RHS 2020-06-11 09:04:27 -07:00
numeric-cast-binop.rs fixup! Provide suggestion to convert numeric op LHS rather than unwrapping RHS 2020-06-11 09:04:27 -07:00
numeric-cast-binop.stderr Point at LHS on binop type err if relevant 2022-12-08 15:30:57 -08:00
numeric-cast-no-fix.rs fixup! Note numeric literals that can never fit in an expected type 2020-06-16 06:55:24 -07:00
numeric-cast-no-fix.stderr Point at LHS on binop type err if relevant 2022-12-08 15:30:57 -08:00
numeric-cast-without-suggestion.rs
numeric-cast-without-suggestion.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
numeric-cast.fixed Fix numeric-cast tests for new into suggestion 2020-04-28 21:40:03 +05:30
numeric-cast.rs
numeric-cast.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
numeric-fields.rs
numeric-fields.stderr Suggest replacing an inexisting field for an unmentioned field 2021-09-13 21:16:05 +09:00
uppercase-base-prefix-invalid-no-fix.rs Refine when invalid prefix case error arises 2022-12-12 19:32:12 -08:00
uppercase-base-prefix-invalid-no-fix.stderr Refine when invalid prefix case error arises 2022-12-12 19:32:12 -08:00
uppercase-base-prefix.fixed Write UI tests, tweak message 2022-01-31 17:34:10 +00:00
uppercase-base-prefix.rs Write UI tests, tweak message 2022-01-31 17:34:10 +00:00
uppercase-base-prefix.stderr Write UI tests, tweak message 2022-01-31 17:34:10 +00:00