Skip to content

Commit

Permalink
Enable doctest merging on all editions
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 12, 2024
1 parent 8c0ec05 commit 80e581a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/doctest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ struct CreateRunnableDocTests {

impl CreateRunnableDocTests {
fn new(rustdoc_options: RustdocOptions, opts: GlobalTestOptions) -> CreateRunnableDocTests {
let can_merge_doctests = rustdoc_options.edition >= Edition::Edition2024;
let can_merge_doctests = true;
CreateRunnableDocTests {
standalone_tests: Vec::new(),
mergeable_tests: FxHashMap::default(),
Expand Down

0 comments on commit 80e581a

Please sign in to comment.