1
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
Albert Larsan
cf2dff2b1e
Move /src/test to /tests 2023-01-11 09:32:08 +00:00
David Tolnay
558ddee2ce
Add test of NtTy in a qpath
Currently fails:

    error: expected identifier, found `ToOwned`
      --> src/test/ui/macros/macro-interpolation.rs:23:19
       |
    LL |         <$type as $trait>::$name
       |                   ^^^^^^ expected identifier
    ...
    LL |     let _: qpath!(ty, <str as ToOwned>::Owned);
       |            -----------------------------------
       |            |
       |            this macro call doesn't expand to a type
       |            in this macro invocation
2021-11-25 15:03:59 -08:00
David Tolnay
01800caddf
Add test of qpath interpolations 2021-11-25 15:03:59 -08:00
Vadim Petrochenkov
9be35f82c1 tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
Renamed from src/test/run-pass/macros/macro-interpolation.rs (Browse further)