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
format-args-capture-issue-93378.rs
format-args-capture-issue-93378.stderr
format-args-capture-issue-94010.rs
format-args-capture-issue-94010.stderr
format-args-capture-issue-102057.rs
format-args-capture-issue-102057.stderr
format-args-capture-macro-hygiene.rs
format-args-capture-macro-hygiene.stderr
format-args-capture-missing-variables.rs
format-args-capture-missing-variables.stderr
format-args-capture.rs
format-expanded-string.rs
format-expanded-string.stderr
format-raw-string-error.rs
format-raw-string-error.stderr
format-string-error-2.rs
format-string-error-2.stderr
format-string-error.rs
format-string-error.stderr
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
ifmt-bad-arg.rs
ifmt-bad-arg.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
ifmt-bad-format-args.rs
ifmt-bad-format-args.stderr
ifmt-unimpl.rs
ifmt-unimpl.stderr Update tests. 2023-01-29 20:19:26 +01:00
ifmt-unknown-trait.rs
ifmt-unknown-trait.stderr
incorrect-separator.rs
incorrect-separator.stderr
indoc-issue-106408.rs
issue-86085.rs
issue-86085.stderr
issue-89173.rs
issue-89173.stderr
issue-91556.rs
issue-91556.stderr
issue-103826.rs
issue-103826.stderr
issue-104142.rs
issue-104142.stderr
respanned-literal-issue-106191.rs
respanned-literal-issue-106191.stderr
send-sync.rs
send-sync.stderr Update tests. 2023-01-29 20:19:26 +01:00
struct-field-as-captured-argument.fixed
struct-field-as-captured-argument.rs
struct-field-as-captured-argument.stderr
unicode-escape-spans.rs
unicode-escape-spans.stderr