blob: 166b9b417b6264ad887ce8678262a723648bcdb5 (
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
27
28
29
30
31
32
|
error: unit tests in doctest are not executed
--> tests/ui/test_attr_in_doctest.rs:6:5
|
LL | /// #[test]
| _____^
LL | |
LL | | /// fn should_be_linted() {
| |_______________________^
|
= note: `-D clippy::test-attr-in-doctest` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::test_attr_in_doctest)]`
error: unit tests in doctest are not executed
--> tests/ui/test_attr_in_doctest.rs:16:5
|
LL | /// #[test]
| _____^
LL | |
LL | | /// fn should_also_be_linted() {
| |____________________________^
error: unit tests in doctest are not executed
--> tests/ui/test_attr_in_doctest.rs:23:5
|
LL | /// #[test]
| _____^
LL | |
LL | | /// fn should_be_linted_too() {
| |___________________________^
error: aborting due to 3 previous errors
|