rust/tests/ui/fmt
Matthias Krüger 2fdb3559c4
Rollup merge of #106805 - madsravn:master, r=compiler-errors
Suggest `{var:?}` when finding `{?:var}` in inline format strings

Link to issue: https://github.com/rust-lang/rust/issues/106572

This is my first PR to this project, so hopefully I can get some good pointers with me from the first PR.

Currently my idea was to test out whether or not this is the correct solution to this issue and then hopefully expand upon the idea to not only work for Debug formatting but for all of  them. If this is a valid solution, I will create a new issue to give a better error message to a broader range of wrong-order formatting.
2023-02-03 06:30:23 +01:00
..
auxiliary Revert "Improve heuristics whether format_args string is a source literal" 2023-01-18 20:33:17 +01:00
format-args-capture-issue-93378.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-issue-93378.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-issue-94010.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-issue-94010.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-issue-102057.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-issue-102057.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-macro-hygiene.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-macro-hygiene.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-missing-variables.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture-missing-variables.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-args-capture.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-expanded-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-expanded-string.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-raw-string-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-raw-string-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-string-error-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-string-error-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-string-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-string-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-string-wrong-order.rs PR fixing wrong order of format parameters in strings. Issue #106572 2023-02-02 12:56:04 +01:00
format-string-wrong-order.stderr PR fixing wrong order of format parameters in strings. Issue #106572 2023-02-02 12:56:04 +01:00
format-with-yield-point.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ifmt-bad-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ifmt-bad-arg.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
ifmt-bad-format-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ifmt-bad-format-args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ifmt-unimpl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ifmt-unimpl.stderr Update tests. 2023-01-29 20:19:26 +01:00
ifmt-unknown-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ifmt-unknown-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incorrect-separator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incorrect-separator.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
indoc-issue-106408.rs Revert "Improve heuristics whether format_args string is a source literal" 2023-01-18 20:33:17 +01:00
issue-86085.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86085.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-89173.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-89173.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91556.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91556.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103826.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103826.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104142.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104142.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
respanned-literal-issue-106191.rs Revert "Improve heuristics whether format_args string is a source literal" 2023-01-18 20:33:17 +01:00
respanned-literal-issue-106191.stderr Revert "Improve heuristics whether format_args string is a source literal" 2023-01-18 20:33:17 +01:00
send-sync.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
send-sync.stderr Update tests. 2023-01-29 20:19:26 +01:00
struct-field-as-captured-argument.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-field-as-captured-argument.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-field-as-captured-argument.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-escape-spans.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-escape-spans.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00