Re-generate doctests

This commit is contained in:
Olivier FAURE 2025-02-15 16:26:28 +01:00
parent e4f62b6999
commit 4fa6595f9a

View File

@ -909,6 +909,29 @@ fn qux(bar: Bar, baz: Baz) {}
)
}
#[test]
fn doctest_expand_glob_reexport() {
check_doc_test(
"expand_glob_reexport",
r#####"
mod foo {
pub struct Bar;
pub struct Baz;
}
pub use foo::*$0;
"#####,
r#####"
mod foo {
pub struct Bar;
pub struct Baz;
}
pub use foo::{Bar, Baz};
"#####,
)
}
#[test]
fn doctest_explicit_enum_discriminant() {
check_doc_test(