rust/tests/ui/tuple
Esteban Küber 8bd8f3b090 Suggest unwrap() on field not found for Result/Option
When encountering a `Result<T, _>` or `Option<T>` where `T` has a field
that's being accessed, suggest calling `.unwrap()` to get to the field.
2023-11-16 17:00:23 +00:00
..
tuple-struct-fields Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
add-tuple-within-arguments.rs
add-tuple-within-arguments.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
array-diagnostics.rs
array-diagnostics.stderr
builtin-fail.rs
builtin-fail.stderr
builtin.rs
index-float.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
index-invalid.rs
index-invalid.stderr
indexing-in-macro.rs
nested-index.rs
one-tuple.rs
tup.rs
tuple-arity-mismatch.rs
tuple-arity-mismatch.stderr
tuple-index-fat-types.rs
tuple-index-not-tuple.rs
tuple-index-not-tuple.stderr Suggest unwrap() on field not found for Result/Option 2023-11-16 17:00:23 +00:00
tuple-index-out-of-bounds.rs
tuple-index-out-of-bounds.stderr Suggest unwrap() on field not found for Result/Option 2023-11-16 17:00:23 +00:00
tuple-index.rs Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
wrong_argument_ice-2.rs
wrong_argument_ice-2.stderr
wrong_argument_ice-3.rs
wrong_argument_ice-3.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
wrong_argument_ice-4.rs
wrong_argument_ice-4.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
wrong_argument_ice.rs
wrong_argument_ice.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00