diff options
| author | bors <bors@rust-lang.org> | 2017-12-11 21:14:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-11 21:14:13 +0000 |
| commit | 9fe7aa353fac5084d0a44d6a15970310e9be67f4 (patch) | |
| tree | f36ba36d4a32f6eb675b28ab061f377ff3db4a15 /src/test/ui/codemap_tests | |
| parent | ddbb27a2414db79bef0a5858b440b04b545c80fa (diff) | |
| parent | 95a045835882e0f9590115ad992b650b71e8197c (diff) | |
| download | rust-9fe7aa353fac5084d0a44d6a15970310e9be67f4.tar.gz rust-9fe7aa353fac5084d0a44d6a15970310e9be67f4.zip | |
Auto merge of #46608 - estebank:resolve-return, r=nikomatsakis
Resolve type on return type suggestion Partially address #45871.
Diffstat (limited to 'src/test/ui/codemap_tests')
| -rw-r--r-- | src/test/ui/codemap_tests/tab.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/codemap_tests/tab.stderr b/src/test/ui/codemap_tests/tab.stderr index e95078f2547..c887821c6d1 100644 --- a/src/test/ui/codemap_tests/tab.stderr +++ b/src/test/ui/codemap_tests/tab.stderr @@ -8,7 +8,7 @@ error[E0308]: mismatched types --> $DIR/tab.rs:18:2 | 17 | fn foo() { - | - help: try adding a return type: `-> &'static str ` + | - help: try adding a return type: `-> &'static str` 18 | "bar boo" //~ ERROR mismatched types | ^^^^^^^^^^^^^^^^^^^^ expected (), found reference | |
