Skip to content

Regression from stable to beta: examples dir in workspace top-level #57524

@jonhoo

Description

@jonhoo

In tower, we have a root-level examples/ directory in a workspace. This means that we also have to list [dev-dependencies] in the root-level Cargo.toml. This works just fine on the current stable (1.31.1), but fails to compile on 1.32 beta and nightly with:

error: failed to parse manifest at `/home/jon/dev/others/tower/Cargo.toml`

Caused by:
  virtual manifests do not specify [dev-dependencies]

Seems like an unwanted regression from stable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions