File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -772,7 +772,7 @@ struct CreateRunnableDoctests {
772
772
773
773
impl CreateRunnableDoctests {
774
774
fn new ( rustdoc_options : RustdocOptions , opts : GlobalTestOptions ) -> CreateRunnableDoctests {
775
- let can_merge_doctests = true ; // rustdoc_options.edition >= Edition::Edition2024;
775
+ let can_merge_doctests = rustdoc_options. edition >= Edition :: Edition2024 ;
776
776
CreateRunnableDoctests {
777
777
standalone_tests : Vec :: new ( ) ,
778
778
mergeable_tests : FxHashMap :: default ( ) ,
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ test $DIR/failed-doctest-should-panic.rs - Foo (line 9) - should panic ... FAILE
5
5
failures:
6
6
7
7
---- $DIR/failed-doctest-should-panic.rs - Foo (line 9) stdout ----
8
- Hello, world!
9
8
note: test did not panic as expected
10
9
11
10
failures:
You can’t perform that action at this time.
0 commit comments