mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Re-generate doctests
This commit is contained in:
parent
e4f62b6999
commit
4fa6595f9a
@ -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]
|
#[test]
|
||||||
fn doctest_explicit_enum_discriminant() {
|
fn doctest_explicit_enum_discriminant() {
|
||||||
check_doc_test(
|
check_doc_test(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user