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`
= 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`
= 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`
= 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
77
84
78
error: unknown attribute `no-run`
85
-
--> $DIR/check-attr-test.rs:19:1
79
+
--> $DIR/check-attr-test.rs:25:1
86
80
|
87
81
LL | / /// foobar
88
-
LL | | ///
89
-
LL | | /// ```no-run,norun,nO_run
82
+
... |
90
83
LL | | /// boo
91
84
LL | | /// ```
92
85
| |_______^
@@ -95,11 +88,10 @@ LL | | /// ```
95
88
= 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
89
97
90
error: unknown attribute `norun`
98
-
--> $DIR/check-attr-test.rs:19:1
91
+
--> $DIR/check-attr-test.rs:25:1
99
92
|
100
93
LL | / /// foobar
101
-
LL | | ///
102
-
LL | | /// ```no-run,norun,nO_run
94
+
... |
103
95
LL | | /// boo
104
96
LL | | /// ```
105
97
| |_______^
@@ -108,11 +100,10 @@ LL | | /// ```
108
100
= 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
101
110
102
error: unknown attribute `nO_run`
111
-
--> $DIR/check-attr-test.rs:19:1
103
+
--> $DIR/check-attr-test.rs:25:1
112
104
|
113
105
LL | / /// foobar
114
-
LL | | ///
115
-
LL | | /// ```no-run,norun,nO_run
106
+
... |
116
107
LL | | /// boo
117
108
LL | | /// ```
118
109
| |_______^
@@ -121,11 +112,10 @@ LL | | /// ```
121
112
= 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`
= 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`
= 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`
Copy file name to clipboardExpand all lines: tests/rustdoc-ui/doctest/main-alongside-stmts.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ LL | //! ```
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