We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d95920 commit 94e48f9Copy full SHA for 94e48f9
compiler/rustc_metadata/src/creader.rs
@@ -511,7 +511,7 @@ impl CStore {
511
// We're also sure to compare *paths*, not actual byte slices. The
512
// `source` stores paths which are normalized which may be different
513
// from the strings on the command line.
514
- let source = self.get_crate_data(cnum).cdata.source();
+ let source = data.source();
515
if let Some(entry) = externs.get(name.as_str()) {
516
// Only use `--extern crate_name=path` here, not `--extern crate_name`.
517
if let Some(mut files) = entry.files() {
0 commit comments