mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
28d62f0833
This resulted in the following error for me:
error[E0464]: multiple candidates for `rlib` dependency `rustc_literal_escaper` found
--> clippy_dev/src/lib.rs:25:1
|
25 | extern crate rustc_literal_escaper;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: candidate #1: /home/pkrones/.rustup/toolchains/nightly-2025-12-25-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_literal_escaper-4f30574e01c3dad1.rlib
= note: candidate #2: /home/pkrones/.rustup/toolchains/nightly-2025-12-25-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_literal_escaper-c8a0e29ad1040cee.rmeta
Other tools in the Rust repo also take that as an explicit dependency, like rust-analyzer or lint-docs.
19 lines
449 B
TOML
19 lines
449 B
TOML
[package]
|
|
name = "clippy_dev"
|
|
description = "Clippy developer tooling"
|
|
version = "0.0.1"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
|
|
clap = { version = "4.4", features = ["derive"] }
|
|
indoc = "1.0"
|
|
itertools = "0.12"
|
|
opener = "0.7"
|
|
rustc-literal-escaper = "0.0.5"
|
|
walkdir = "2.3"
|
|
|
|
[package.metadata.rust-analyzer]
|
|
# This package uses #[feature(rustc_private)]
|
|
rustc_private = true
|