Files
rust/compiler
Yuki Okushi 6964ec2f72 Rollup merge of #90544 - ehuss:demote-locator-warn, r=petrochenkov
Demote metadata load warning to "info".

There is a warn log message for whenever the crate loader fails to load metadata from a candidate file. I think this warning is too aggressive, as there are several situations where metadata information might not be found in a candidate file, which is normal. Also, this warning is somewhat confusing, and non-actionable in most cases for a user (most users will not know what it means).

If the crate loader ultimately does not find a valid crate, then an error will be reported (and hopefully #88368 will improve that error message).

If a rustc developer wants to debug a loader problem, they can still use `RUSTC_LOG=rustc_metadata=debug` and get the details.

There is more discussion of this particular warning at https://github.com/rust-lang/rust/issues/89795#issuecomment-940798190.

Fixes #90525
2021-11-05 10:32:44 +09:00
..
2021-09-20 22:21:42 -04:00
2021-09-20 22:21:42 -04:00
2021-10-16 13:36:05 -07:00
2021-09-20 22:21:42 -04:00
2021-10-23 21:55:57 -04:00
2021-10-29 11:15:45 -04:00
2021-11-01 10:39:43 +01:00
2021-09-20 22:21:42 -04:00
2021-11-03 13:53:57 +09:00
2021-11-03 16:43:12 +01:00