]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/typeck/issue-91450-inner-ty-error.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / typeck / issue-91450-inner-ty-error.stderr
index 314fe561803687e2707b845de4a4d4679490cc2b..32f4c8f6fdf8255def0295c2733c2fc3ae75eb03 100644 (file)
@@ -9,7 +9,7 @@ LL | fn foo() -> Option<_> {}
    = note:   expected enum `Option<_>`
            found unit type `()`
 
-error[E0121]: the type placeholder `_` is not allowed within types on item signatures for return types
+error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
   --> $DIR/issue-91450-inner-ty-error.rs:4:20
    |
 LL | fn foo() -> Option<_> {}