Skip to content

Commit 80e581a

Browse files
committed
Enable doctest merging on all editions
1 parent 8c0ec05 commit 80e581a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/doctest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ struct CreateRunnableDocTests {
789789

790790
impl CreateRunnableDocTests {
791791
fn new(rustdoc_options: RustdocOptions, opts: GlobalTestOptions) -> CreateRunnableDocTests {
792-
let can_merge_doctests = rustdoc_options.edition >= Edition::Edition2024;
792+
let can_merge_doctests = true;
793793
CreateRunnableDocTests {
794794
standalone_tests: Vec::new(),
795795
mergeable_tests: FxHashMap::default(),

0 commit comments

Comments
 (0)