1 A metadata file was invalid.
3 Erroneous code example:
5 ```ignore (needs extern files)
6 use ::foo; // error: found invalid metadata files for crate `foo`
9 When loading crates, each crate must have a valid metadata file.
10 Invalid files could be caused by filesystem corruption,
11 an IO error while reading the file, or (rarely) a bug in the compiler itself.
13 Consider deleting the file and recreating it,
14 or reporting a bug against the compiler.