Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/proc-macro/quote/does-not-have-iter.stderr

10 lines
296 B
Plaintext
Raw Normal View History

Add support for repetition to `proc_macro::quote`
2025-05-27 02:30:53 +09:00
error[E0308]: mismatched types
--> $DIR/does-not-have-iter.rs:8:5
Migrate check-fail tests for `proc_macro::quote!` from `quote` crate
2025-01-09 02:29:02 +01:00
|
LL | quote!($(a b)*);
Account for macros when trying to point at inference cause Do not point at macro invocation which expands to an inference error. Avoid the following: ``` error[E0308]: mismatched types --> $DIR/does-not-have-iter-interpolated.rs:12:5 | LL | quote!($($nonrep)*); | ^^^^^^^^^^^^^^^^^^^ | | | expected `HasIterator`, found `ThereIsNoIteratorInRepetition` | expected due to this | here the type of `has_iter` is inferred to be `ThereIsNoIteratorInRepetition` ```
2025-08-10 21:47:52 +00:00
| ^^^^^^^^^^^^^^^ expected `HasIterator`, found `ThereIsNoIteratorInRepetition`
Migrate check-fail tests for `proc_macro::quote!` from `quote` crate
2025-01-09 02:29:02 +01:00
error: aborting due to 1 previous error
Add support for repetition to `proc_macro::quote`
2025-05-27 02:30:53 +09:00
For more information about this error, try `rustc --explain E0308`.
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 420ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API