You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
31
31
32
32
error: unknown attribute `comPile_fail`
33
-
--> $DIR/check-attr-test.rs:5:1
33
+
--> $DIR/check-attr-test.rs:8:1
34
34
|
35
35
LL | / /// foo
36
36
LL | | ///
@@ -43,7 +43,7 @@ LL | | /// ```
43
43
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
44
44
45
45
error: unknown attribute `should-panic`
46
-
--> $DIR/check-attr-test.rs:12:1
46
+
--> $DIR/check-attr-test.rs:18:1
47
47
|
48
48
LL | / /// bar
49
49
LL | | ///
@@ -56,7 +56,7 @@ LL | | /// ```
56
56
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
57
57
58
58
error: unknown attribute `shouldpanic`
59
-
--> $DIR/check-attr-test.rs:12:1
59
+
--> $DIR/check-attr-test.rs:18:1
60
60
|
61
61
LL | / /// bar
62
62
LL | | ///
@@ -69,7 +69,7 @@ LL | | /// ```
69
69
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
70
70
71
71
error: unknown attribute `shOuld_panic`
72
-
--> $DIR/check-attr-test.rs:12:1
72
+
--> $DIR/check-attr-test.rs:18:1
73
73
|
74
74
LL | / /// bar
75
75
LL | | ///
@@ -82,7 +82,7 @@ LL | | /// ```
82
82
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
83
83
84
84
error: unknown attribute `no-run`
85
-
--> $DIR/check-attr-test.rs:19:1
85
+
--> $DIR/check-attr-test.rs:28:1
86
86
|
87
87
LL | / /// foobar
88
88
LL | | ///
@@ -95,7 +95,7 @@ LL | | /// ```
95
95
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
96
96
97
97
error: unknown attribute `norun`
98
-
--> $DIR/check-attr-test.rs:19:1
98
+
--> $DIR/check-attr-test.rs:28:1
99
99
|
100
100
LL | / /// foobar
101
101
LL | | ///
@@ -108,7 +108,7 @@ LL | | /// ```
108
108
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
109
109
110
110
error: unknown attribute `nO_run`
111
-
--> $DIR/check-attr-test.rs:19:1
111
+
--> $DIR/check-attr-test.rs:28:1
112
112
|
113
113
LL | / /// foobar
114
114
LL | | ///
@@ -121,7 +121,7 @@ LL | | /// ```
121
121
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
122
122
123
123
error: unknown attribute `test-harness`
124
-
--> $DIR/check-attr-test.rs:26:1
124
+
--> $DIR/check-attr-test.rs:38:1
125
125
|
126
126
LL | / /// b
127
127
LL | | ///
@@ -134,7 +134,7 @@ LL | | /// ```
134
134
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
135
135
136
136
error: unknown attribute `testharness`
137
-
--> $DIR/check-attr-test.rs:26:1
137
+
--> $DIR/check-attr-test.rs:38:1
138
138
|
139
139
LL | / /// b
140
140
LL | | ///
@@ -147,7 +147,7 @@ LL | | /// ```
147
147
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function
2
-
--> $DIR/main-alongside-stmts.rs:17:1
2
+
--> $DIR/main-alongside-stmts.rs:18:1
3
3
|
4
4
LL | //! ```
5
5
| ^^^^^^^
6
6
7
7
warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function
0 commit comments