rust/tests/ui/offset-of
Esteban Küber cc9631a371 When displaying multispans, ignore empty lines adjacent to ...
```
error[E0308]: `match` arms have incompatible types
   --> tests/ui/codemap_tests/huge_multispan_highlight.rs:98:18
    |
6   |       let _ = match true {
    |               ---------- `match` arms have incompatible types
7   |           true => (
    |  _________________-
8   | |             // last line shown in multispan header
...   |
96  | |
97  | |         ),
    | |_________- this is found to be of type `()`
98  |           false => "
    |  __________________^
...   |
119 | |
120 | |         ",
    | |_________^ expected `()`, found `&str`

error[E0308]: `match` arms have incompatible types
   --> tests/ui/codemap_tests/huge_multispan_highlight.rs:215:18
    |
122 |       let _ = match true {
    |               ---------- `match` arms have incompatible types
123 |           true => (
    |  _________________-
124 | |
125 | |         1 // last line shown in multispan header
...   |
213 | |
214 | |         ),
    | |_________- this is found to be of type `{integer}`
215 |           false => "
    |  __________________^
216 | |
217 | |
218 | |         1 last line shown in multispan
...   |
237 | |
238 | |         ",
    | |_________^ expected integer, found `&str`
```
2024-03-18 16:25:36 +00:00
..
auxiliary
offset-of-arg-count.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-arg-count.stderr Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-builtin.rs Make offset_of field parsing use metavariable which handles any spacing 2024-01-02 22:18:35 +00:00
offset-of-builtin.stderr Make offset_of field parsing use metavariable which handles any spacing 2024-01-02 22:18:35 +00:00
offset-of-dst-field.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-dst-field.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
offset-of-enum.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-enum.stderr Update based on wesleywiser review 2023-10-31 23:41:40 +00:00
offset-of-inference.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-inference.stderr Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-must-use.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
offset-of-must-use.stderr Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-output-type.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-output-type.stderr Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-private.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-private.stderr Support enum variants in offset_of! 2023-10-31 23:25:54 +00:00
offset-of-self.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-self.stderr Make offset_of field parsing use metavariable which handles any spacing 2024-01-02 22:18:35 +00:00
offset-of-tuple-nested.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
offset-of-tuple.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of-tuple.stderr When displaying multispans, ignore empty lines adjacent to ... 2024-03-18 16:25:36 +00:00
offset-of-unsized.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
offset-of-unstable-with-feature.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
offset-of-unstable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
offset-of-unstable.stderr Bless tests 2024-01-13 12:46:58 -05:00