blob: 4a9635bf51637c2c36bd5acd0770b41d50676132 [file] [log] [blame] [view]
A metadata file was invalid.
Erroneous code example:
```ignore (needs extern files)
use ::foo; // error: found invalid metadata files for crate `foo`
```
When loading crates, each crate must have a valid metadata file.
Invalid files could be caused by filesystem corruption,
an IO error while reading the file, or (rarely) a bug in the compiler itself.
Consider deleting the file and recreating it,
or reporting a bug against the compiler.