We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
literal-escaper
1 parent 916f6f3 commit e998c81Copy full SHA for e998c81
src/bootstrap/src/core/metadata.rs
@@ -63,6 +63,11 @@ pub fn build(build: &mut Build) {
63
let relative_path = krate.local_path(build);
64
build.crates.insert(name.clone(), krate);
65
let existing_path = build.crate_paths.insert(relative_path, name);
66
+ // `literal-escaper` is both a dependency of `compiler/rustc_lexer` and of
67
+ // `library/proc-macro`, making it appear multiple times in the workspace.
68
+ if existing_path.as_deref() == Some("literal-escaper") {
69
+ continue;
70
+ }
71
assert!(
72
existing_path.is_none(),
73
"multiple crates with the same path: {}",
0 commit comments