Skip to content

Commit c05df1b

Browse files
ehusscompiler-errors
authored andcommitted
Enable doctest merging on all editions
1 parent d56a046 commit c05df1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/doctest.rs

Lines changed: 1 addition & 1 deletion
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)