about summary refs log tree commit diff
path: root/tests/rustdoc-ui/invalid-attribute.stderr
blob: 66e68ce44b4060df7f97f85328d6c5f857080510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: nonexistent builtin attribute `foo df` used in `#[doc(attribute = "...")]`
  --> $DIR/invalid-attribute.rs:6:19
   |
LL | #[doc(attribute = "foo df")]
   |                   ^^^^^^^^
   |
   = help: only existing builtin attributes are allowed in core/std

error: nonexistent builtin attribute `fooyi` used in `#[doc(attribute = "...")]`
  --> $DIR/invalid-attribute.rs:9:19
   |
LL | #[doc(attribute = "fooyi")]
   |                   ^^^^^^^
   |
   = help: only existing builtin attributes are allowed in core/std

error: aborting due to 2 previous errors