blob: 704b4ae181bb26fcac0007979f566340ad877de3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Cannot use `doc(inline)` with anonymous imports
Erroneous code example:
```ignore (cannot-doctest-multicrate-project)
#[doc(inline)] // error: invalid doc argument
pub use foo::Foo as _;
```
Anonymous imports are always rendered with `#[doc(no_inline)]`. To fix this
error, remove the `#[doc(inline)]` attribute.
Example:
```ignore (cannot-doctest-multicrate-project)
pub use foo::Foo as _;
```
|