Summary
Nested markdown lists as below are not rendered as nested lists, but as single-level lists.
Works as expected:
- stable (
cargo 1.58.0 (7f08ace4f 2021-11-24), rustdoc 1.58.0 (02072b482 2022-01-11))
- beta (
cargo 1.58.0-beta (7f08ace4f 2021-11-24), rustdoc 1.58.0-beta.3 (4aa9d237c 2022-01-08))
Produces unintended output:
- nightly (
cargo 1.60.0-nightly (358e79fe5 2022-01-04), rustdoc 1.60.0-nightly (1bd4fdc94 2022-01-12))
Initially reported at rust-lang/docs.rs#1594.
Source input
//! * foo
//! + bar
//! + baz
Expected output
With cargo doc (with stable toolchain):

Actual output
With cargo +nightly doc with nightly toolchain:

Summary
Nested markdown lists as below are not rendered as nested lists, but as single-level lists.
Works as expected:
cargo 1.58.0 (7f08ace4f 2021-11-24),rustdoc 1.58.0 (02072b482 2022-01-11))cargo 1.58.0-beta (7f08ace4f 2021-11-24),rustdoc 1.58.0-beta.3 (4aa9d237c 2022-01-08))Produces unintended output:
cargo 1.60.0-nightly (358e79fe5 2022-01-04),rustdoc 1.60.0-nightly (1bd4fdc94 2022-01-12))Initially reported at rust-lang/docs.rs#1594.
Source input
Expected output
With

cargo doc(with stable toolchain):Actual output
With

cargo +nightly docwith nightly toolchain: