Skip to content

More informative error messages when using #[test] or #fmt without std #1127

Closed
@marijnh

Description

@marijnh

Currently, you'll get an unexplained

error: unresolved modulename: std

Which is bound to confuse people.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)A-testsuiteArea: The testsuite used to check the correctness of rustc

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions