rust/tests/ui/proc-macro/quote
Esteban Küber e9609abda4 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
..
auxiliary Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
basic.rs Migrate basic tests for proc_macro::quote! from quote crate 2025-01-09 22:16:20 +01:00
debug.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
debug.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
does-not-have-iter-interpolated-dup.rs Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
does-not-have-iter-interpolated-dup.stderr Account for macros when trying to point at inference cause 2025-08-10 21:47:52 +00:00
does-not-have-iter-interpolated.rs Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
does-not-have-iter-interpolated.stderr Account for macros when trying to point at inference cause 2025-08-10 21:47:52 +00:00
does-not-have-iter-separated.rs Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
does-not-have-iter-separated.stderr Account for macros when trying to point at inference cause 2025-08-10 21:47:52 +00:00
does-not-have-iter.rs Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
does-not-have-iter.stderr Account for macros when trying to point at inference cause 2025-08-10 21:47:52 +00:00
not-quotable.rs Migrate check-fail tests for proc_macro::quote! from quote crate 2025-01-09 22:16:21 +01:00
not-quotable.stderr Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
not-repeatable.rs Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
not-repeatable.stderr Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00