16 Commits

Author SHA1 Message Date
Jonathan Brouwer de48ea79af Update uitests 2026-03-17 17:30:56 +01:00
Matthias Krüger d1cf7f8e61 Rollup merge of #146377 - fmease:no-incl-shebang-expr, r=Urgau
Don't strip shebang in expr-ctxt `include!(…)`

No longer strip shebang interpreter directives in files that were `include`d in expression (statement) contexts.
2025-12-21 18:50:40 +01:00
Guillaume Gomez 4936973d49 Fix ui tests 2025-12-10 12:28:05 +01:00
reddevilmidzy 3f943fbf84 Fix ICE when include_str! reads absolute path binary files 2025-11-28 12:43:56 +09:00
León Orell Valerian Liehr e477732253 Don't strip shebang in expr-ctxt include!(…) 2025-11-26 04:57:58 +01:00
Scott Schafer 9243928c6c feat: Use annotate-snippets by default on nightly 2025-11-05 09:01:07 -07:00
Kivooeo c6c55cc0cb cleaned up some tests 2025-06-11 20:51:49 +05:00
Esteban Küber f0b8e13b59 Do not suggest using -Zmacro-backtrace for builtin macros
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
2025-03-14 19:50:03 +00:00
Michael Goulet 0a7ab1d6df More sophisticated span trimming 2025-02-21 00:41:17 +00:00
Esteban Küber f0845adb0c Show diff suggestion format on verbose replacement
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
2025-02-10 20:21:39 +00:00
Zalathar 835fbcbcab Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
Michael Howell 1c41dd6320 diagnostics: fix crash on completely empty included file 2024-03-29 18:22:44 -07:00
Kornel 826ddb3018 Suggest correct path in include_bytes! 2024-03-27 15:16:25 +00:00
许杰友 Jieyou Xu (Joe) ec2cc761bc [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
Esteban Küber 62ba3e70a1 Modify primary span label for E0308
The previous output was unintuitive to users.
2023-01-30 20:12:19 +00:00
Albert Larsan cf2dff2b1e Move /src/test to /tests 2023-01-11 09:32:08 +00:00