diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2022-12-11 11:38:43 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2022-12-11 11:38:43 -0800 |
| commit | ce486d538b909658f72d6016dae758f075089d3c (patch) | |
| tree | bd1acfadde5a9ff9847838d541ea7ca9c3bfa81c /src/test/ui/expr | |
| parent | 8d9ffa379e2b6e0d8f4813c035daf6c567887c1e (diff) | |
Use `with_forced_trimmed_paths`
Diffstat (limited to 'src/test/ui/expr')
| -rw-r--r-- | src/test/ui/expr/malformed_closure/ruby_style_closure.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/expr/malformed_closure/ruby_style_closure.stderr b/src/test/ui/expr/malformed_closure/ruby_style_closure.stderr index 759d79493a9..c7ed8e0de38 100644 --- a/src/test/ui/expr/malformed_closure/ruby_style_closure.stderr +++ b/src/test/ui/expr/malformed_closure/ruby_style_closure.stderr @@ -14,7 +14,7 @@ LL | let p = Some(45).and_then({ LL | | LL | | |x| println!("doubling {}", x); LL | | Some(x * 2) - | | ----------- this tail expression is of type `std::option::Option<_>` + | | ----------- this tail expression is of type `Option<_>` LL | | LL | | }); | |_____^ expected an `FnOnce<({integer},)>` closure, found `Option<_>` |
