diff --git a/compiler/rustc_ast_lowering/Cargo.toml b/compiler/rustc_ast_lowering/Cargo.toml index 5554fcd29bdc2..ce1c8d4997d74 100644 --- a/compiler/rustc_ast_lowering/Cargo.toml +++ b/compiler/rustc_ast_lowering/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition = "2021" [lib] +doctest = false [dependencies] rustc_arena = { path = "../rustc_arena" } diff --git a/compiler/rustc_builtin_macros/Cargo.toml b/compiler/rustc_builtin_macros/Cargo.toml index 5ac45c321c412..6469d0d7b88a6 100644 --- a/compiler/rustc_builtin_macros/Cargo.toml +++ b/compiler/rustc_builtin_macros/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition = "2021" [lib] +doctest = false [dependencies] rustc_ast = { path = "../rustc_ast" } diff --git a/compiler/rustc_expand/Cargo.toml b/compiler/rustc_expand/Cargo.toml index f665f21d48640..4ee7b6c42bbf5 100644 --- a/compiler/rustc_expand/Cargo.toml +++ b/compiler/rustc_expand/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" build = false [lib] +doctest = false [dependencies] rustc_serialize = { path = "../rustc_serialize" } diff --git a/compiler/rustc_infer/Cargo.toml b/compiler/rustc_infer/Cargo.toml index fb53d360c4ea6..aced787d67116 100644 --- a/compiler/rustc_infer/Cargo.toml +++ b/compiler/rustc_infer/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition = "2021" [lib] +doctest = false [dependencies] tracing = "0.1" diff --git a/compiler/rustc_middle/Cargo.toml b/compiler/rustc_middle/Cargo.toml index c0e16e7dd822f..cca17a4eccd3a 100644 --- a/compiler/rustc_middle/Cargo.toml +++ b/compiler/rustc_middle/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition = "2021" [lib] +doctest = false [dependencies] bitflags = "1.2.1" diff --git a/compiler/rustc_query_impl/Cargo.toml b/compiler/rustc_query_impl/Cargo.toml index 319c749edc039..e7f12caaf33e5 100644 --- a/compiler/rustc_query_impl/Cargo.toml +++ b/compiler/rustc_query_impl/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition = "2021" [lib] +doctest = false [dependencies] measureme = "10.0.0"