We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cce8cb commit ca5c752Copy full SHA for ca5c752
src/test/rustdoc/early-unindent.rs
@@ -0,0 +1,26 @@
1
+// This is a regression for https://github.com/rust-lang/rust/issues/96079.
2
+
3
+#![crate_name = "foo"]
4
5
+pub mod app {
6
+ pub struct S;
7
8
+ impl S {
9
+ // @has 'foo/app/struct.S.html'
10
+ // @has - '//a[@href="../enums/enum.Foo.html#method.by_name"]' 'Foo::by_name'
11
+ /**
12
+ Doc comment hello! [`Foo::by_name`](`crate::enums::Foo::by_name`).
13
+ */
14
+ pub fn whatever(&self) {}
15
+ }
16
+}
17
18
+pub mod enums {
19
+ pub enum Foo {
20
+ Bar,
21
22
23
+ impl Foo {
24
+ pub fn by_name(&self) {}
25
26
0 commit comments