diff --git a/src/librustc_lexer/Cargo.toml b/src/librustc_lexer/Cargo.toml index 9c0230e8322..9dcd39ee039 100644 --- a/src/librustc_lexer/Cargo.toml +++ b/src/librustc_lexer/Cargo.toml @@ -7,3 +7,7 @@ edition = "2018" # Note that this crate purposefully does not depend on other rustc crates [dependencies] unicode-xid = { version = "0.1.0", optional = true } + +[lib] +doctest = false +name = "rustc_lexer"