diff options
| author | David Tolnay <dtolnay@gmail.com> | 2021-11-22 19:58:18 -0800 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2021-11-25 15:03:59 -0800 |
| commit | 558ddee2cea3063a487393ea292126259702fe97 (patch) | |
| tree | 1bc6b2fa2b245d3c17f0c739b55fc98847121e08 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 01800caddf74375e17bbdedb9606139704fc3aed (diff) | |
| download | rust-558ddee2cea3063a487393ea292126259702fe97.tar.gz rust-558ddee2cea3063a487393ea292126259702fe97.zip | |
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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
