rust/tests/ui/fmt
Dylan DPC b727132e23
Rollup merge of #108161 - WaffleLapkin:const_param_ty, r=BoxyUwU
Add `ConstParamTy` trait

This is a bit sketch, but idk.
r? `@BoxyUwU`

Yet to be done:
- [x] ~~Figure out if it's okay to implement `StructuralEq` for primitives / possibly remove their special casing~~ (it should be okay, but maybe not in this PR...)
- [ ] Maybe refactor the code a little bit
- [x] Use a macro to make impls a bit nicer

Future work:
- [ ] Actually™ use the trait when checking if a `const` generic type is allowed
- [ ] _Really_ refactor the surrounding code
- [ ] Refactor `marker.rs` into multiple modules for each "theme" of markers
2023-05-02 11:44:50 +05:30
..
auxiliary Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
format-args-argument-span.rs Add test for span of implicit format args captures. 2023-03-27 14:57:02 +02:00
format-args-argument-span.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
format-args-capture-first-literal-is-macro.rs Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
format-args-capture-first-literal-is-macro.stderr Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
format-args-capture-from-pm-first-arg-macro.rs Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
format-args-capture-from-pm-first-arg-macro.stderr Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
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-issue-106408.rs Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
format-args-capture-macro-hygiene-pass.rs Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
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 fixup tests wrt new normalization 2023-04-28 11:56:02 +00:00
format-string-error.stderr
format-string-wrong-order.rs
format-string-wrong-order.stderr
format-with-yield-point.rs
ifmt-bad-arg.rs
ifmt-bad-arg.stderr Update tests. 2023-04-24 16:16:14 +02:00
ifmt-bad-format-args.rs
ifmt-bad-format-args.stderr
ifmt-unimpl.rs
ifmt-unimpl.stderr Update tests. 2023-04-24 16:16:14 +02:00
ifmt-unknown-trait.rs
ifmt-unknown-trait.stderr
incorrect-separator.rs
incorrect-separator.stderr
indoc-issue-106408.rs
issue-75307.rs
issue-75307.stderr
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 Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
respanned-literal-issue-106191.stderr Properly allow macro expanded format_args invocations to uses captures 2023-03-14 13:16:52 +00:00
send-sync.rs
send-sync.stderr Update tests. 2023-04-24 16:16:14 +02: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