about summary refs log tree commit diff
path: root/tests/ui/rustdoc/doc-test-attr.stderr
blob: 51672314a4311104ca66103cf8ec50132e7587e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: `#[doc(test(...)]` takes a list of attributes
  --> $DIR/doc-test-attr.rs:4:8
   |
LL | #![doc(test)]
   |        ^^^^
   |
note: the lint level is defined here
  --> $DIR/doc-test-attr.rs:2:9
   |
LL | #![deny(invalid_doc_attributes)]
   |         ^^^^^^^^^^^^^^^^^^^^^^

error: `#[doc(test(...)]` takes a list of attributes
  --> $DIR/doc-test-attr.rs:6:8
   |
LL | #![doc(test = "hello")]
   |        ^^^^^^^^^^^^^^

error: unknown `doc(test)` attribute `a`
  --> $DIR/doc-test-attr.rs:8:13
   |
LL | #![doc(test(a))]
   |             ^

error: aborting due to 3 previous errors