rust/tests/ui/try-trait
Esteban Küber 1bd7934d89 Point at span within local macros even when error happens in nested external macro
```
error[E0308]: mismatched types
  --> $DIR/macro-span-caller-replacement.rs:5:17
   |
LL |             s = format!("{arg}");
   |                 ^^^^^^^^^^^^^^^^ expected `&str`, found `String`
...
LL |     macro_with_format!();
   |     -------------------- in this macro invocation
   |
   = note: this error originates in the macro `format` which comes from the expansion of the macro `macro_with_format` (in Nightly builds, run with -Z macro-backtrace for more info)
```
2025-12-10 19:27:40 +00:00
..
bad-interconversion.rs Remove feature(control_flow_enum) in tests 2024-09-25 19:00:19 -07:00
bad-interconversion.stderr Point at span within local macros even when error happens in nested external macro 2025-12-10 19:27:40 +00:00
bad-question-mark-on-trait-object.rs Point at type that doesn't implement needed trait 2025-02-21 18:30:07 +00:00
bad-question-mark-on-trait-object.stderr Point at type that doesn't implement needed trait 2025-02-21 18:30:07 +00:00
incompatible-types-with-question-mark-51632.rs Rehome tests/ui/issues/ tests [3/?] 2025-08-04 16:43:53 -04:00
incompatible-types-with-question-mark-51632.stderr Rehome tests/ui/issues/ tests [3/?] 2025-08-04 16:43:53 -04:00
issue-32709.rs Move tests 2023-08-28 17:47:37 -03:00
issue-32709.stderr Don't mention FromResidual on bad ? 2025-02-18 17:34:16 +00:00
option-to-result.rs
option-to-result.stderr Tweak E0277 when predicate comes indirectly from ? 2025-02-20 18:15:39 +00:00
try-as-monad.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-on-option-diagnostics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-on-option-diagnostics.stderr Tweak E0277 when predicate comes indirectly from ? 2025-02-20 18:15:39 +00:00
try-on-option.rs
try-on-option.stderr Tweak E0277 when predicate comes indirectly from ? 2025-02-20 18:15:39 +00:00
try-operator-custom.rs Remove feature(control_flow_enum) in tests 2024-09-25 19:00:19 -07:00
try-operator-expansion-hygiene.rs cleaned up some tests 2025-07-10 18:47:20 +05:00
try-operator-on-main.rs
try-operator-on-main.stderr Tweak E0277 when predicate comes indirectly from ? 2025-02-20 18:15:39 +00:00
try-operator-various-contexts.rs cleaned up some tests 2025-07-10 18:47:20 +05:00
try-poll.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yeet-for-option.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yeet-for-result.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00