Skip to content

Accidental breaking change in 0.6.23 #689

Closed
@Dirbaio

Description

type Foo = winnow::Located<&'static str>;

Compiles with 0.6.22, fails with 0.6.23:

error[E0412]: cannot find type `Located` in crate `winnow`
 --> src/main.rs:1:20
  |
1 | type Foo = winnow::Located<&'static str>;
  |                    ^^^^^^^ not found in `winnow`
  |
help: consider importing this type alias
  |
1 + use winnow::stream::Located;
  |
help: if you import `Located`, refer to it directly
  |
1 - type Foo = winnow::Located<&'static str>;
1 + type Foo = Located<&'static str>;
  |

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions