Skip to content

rustc --ls gives 'could not find metadata' error for missing file #6615

Closed
@huonw

Description

@huonw
$ mkdir empty && cd empty
$ ls -a
.  ..
$ rustc --ls foo
could not find metadata in foo.

"No such file" would be nicer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-frontendArea: Compiler frontend (errors, parsing and HIR)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions