rust/tests/rustdoc-ui/doc-cfg.stderr
2026-02-05 11:44:34 -08:00

35 lines
912 B
Text

error[E0805]: malformed `doc` attribute input
--> $DIR/doc-cfg.rs:4:1
|
LL | #[doc(cfg(), cfg(foo, bar))]
| ^^^^^^^^^--^^^^^^^^^^^^^^^^^
| |
| expected a single argument here
error[E0805]: malformed `doc` attribute input
--> $DIR/doc-cfg.rs:4:1
|
LL | #[doc(cfg(), cfg(foo, bar))]
| ^^^^^^^^^^^^^^^^----------^^
| |
| expected a single argument here
error[E0805]: malformed `doc` attribute input
--> $DIR/doc-cfg.rs:7:1
|
LL | #[doc(cfg())]
| ^^^^^^^^^--^^
| |
| expected a single argument here
error[E0805]: malformed `doc` attribute input
--> $DIR/doc-cfg.rs:8:1
|
LL | #[doc(cfg(foo, bar))]
| ^^^^^^^^^----------^^
| |
| expected a single argument here
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0805`.