Skip to content

Commit 824b182

Browse files
committed
Re-generate doctests
1 parent 1253006 commit 824b182

File tree

1 file changed

+23
-0
lines changed
  • src/tools/rust-analyzer/crates/ide-assists/src/tests

1 file changed

+23
-0
lines changed

src/tools/rust-analyzer/crates/ide-assists/src/tests/generated.rs

+23
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,29 @@ fn qux(bar: Bar, baz: Baz) {}
909909
)
910910
}
911911

912+
#[test]
913+
fn doctest_expand_glob_reexport() {
914+
check_doc_test(
915+
"expand_glob_reexport",
916+
r#####"
917+
mod foo {
918+
pub struct Bar;
919+
pub struct Baz;
920+
}
921+
922+
pub use foo::*$0;
923+
"#####,
924+
r#####"
925+
mod foo {
926+
pub struct Bar;
927+
pub struct Baz;
928+
}
929+
930+
pub use foo::{Bar, Baz};
931+
"#####,
932+
)
933+
}
934+
912935
#[test]
913936
fn doctest_explicit_enum_discriminant() {
914937
check_doc_test(

0 commit comments

Comments
 (0)