11error[E0573]: expected type, found variant `NoResult`
2- --> $DIR/issue-17546.rs:12 :17
2+ --> $DIR/issue-17546.rs:16 :17
33 |
44LL | fn new() -> NoResult<MyEnum, String> {
55 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -19,7 +19,7 @@ LL | fn new() -> Result<MyEnum, String> {
1919 | ^^^^^^
2020
2121error[E0573]: expected type, found variant `Result`
22- --> $DIR/issue-17546.rs:22 :17
22+ --> $DIR/issue-17546.rs:26 :17
2323 |
2424LL | fn new() -> Result<foo::MyEnum, String> {
2525 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type
@@ -37,7 +37,7 @@ LL | use std::result::Result;
3737 and 1 other candidate
3838
3939error[E0573]: expected type, found variant `Result`
40- --> $DIR/issue-17546.rs:28 :13
40+ --> $DIR/issue-17546.rs:32 :13
4141 |
4242LL | fn new() -> Result<foo::MyEnum, String> {
4343 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type
@@ -55,7 +55,7 @@ LL | use std::result::Result;
5555 and 1 other candidate
5656
5757error[E0573]: expected type, found variant `NoResult`
58- --> $DIR/issue-17546.rs:33 :15
58+ --> $DIR/issue-17546.rs:37 :15
5959 |
6060LL | fn newer() -> NoResult<foo::MyEnum, String> {
6161 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments