1
1
error[E0573]: expected type, found variant `NoResult`
2
- --> $DIR/issue-17546.rs:12 :17
2
+ --> $DIR/issue-17546.rs:16 :17
3
3
|
4
4
LL | fn new() -> NoResult<MyEnum, String> {
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -19,7 +19,7 @@ LL | fn new() -> Result<MyEnum, String> {
19
19
| ^^^^^^
20
20
21
21
error[E0573]: expected type, found variant `Result`
22
- --> $DIR/issue-17546.rs:22 :17
22
+ --> $DIR/issue-17546.rs:26 :17
23
23
|
24
24
LL | fn new() -> Result<foo::MyEnum, String> {
25
25
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type
@@ -37,7 +37,7 @@ LL | use std::result::Result;
37
37
and 1 other candidate
38
38
39
39
error[E0573]: expected type, found variant `Result`
40
- --> $DIR/issue-17546.rs:28 :13
40
+ --> $DIR/issue-17546.rs:32 :13
41
41
|
42
42
LL | fn new() -> Result<foo::MyEnum, String> {
43
43
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type
@@ -55,7 +55,7 @@ LL | use std::result::Result;
55
55
and 1 other candidate
56
56
57
57
error[E0573]: expected type, found variant `NoResult`
58
- --> $DIR/issue-17546.rs:33 :15
58
+ --> $DIR/issue-17546.rs:37 :15
59
59
|
60
60
LL | fn newer() -> NoResult<foo::MyEnum, String> {
61
61
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments