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: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can
12
-
= 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: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can
12
+
= 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: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can
30
-
= 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: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can
30
+
= 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: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can
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`
= help: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can
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`
Copy file name to clipboardExpand all lines: tests/rustdoc-ui/doctest/failed-doctest-extra-semicolon-on-item.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
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
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
@@ -1,13 +1,13 @@
1
1
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
2
--> $DIR/main-alongside-stmts.rs:17:1
3
3
|
4
-
17 | //! ```
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
Copy file name to clipboardExpand all lines: tests/rustdoc-ui/doctest/standalone-warning-2024.stderr
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,34 @@
1
1
error: unknown attribute `standalone`
2
2
--> $DIR/standalone-warning-2024.rs:11:1
3
3
|
4
-
11 | / //! ```standalone
5
-
12 | | //! bla
6
-
13 | | //! ```
7
-
14 | | //!
8
-
15 | | //! ```standalone-crate
9
-
16 | | //! bla
10
-
17 | | //! ```
4
+
LL | / //! ```standalone
5
+
LL | | //! bla
6
+
LL | | //! ```
7
+
LL | | //!
8
+
LL | | //! ```standalone-crate
9
+
LL | | //! bla
10
+
LL | | //! ```
11
11
| |_______^
12
12
|
13
13
= help: use `standalone_crate` to compile this code block separately
14
14
= 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`
15
15
note: the lint level is defined here
16
16
--> $DIR/standalone-warning-2024.rs:9:9
17
17
|
18
-
9 | #![deny(warnings)]
18
+
LL | #![deny(warnings)]
19
19
| ^^^^^^^^
20
20
= note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(warnings)]`
21
21
22
22
error: unknown attribute `standalone-crate`
23
23
--> $DIR/standalone-warning-2024.rs:11:1
24
24
|
25
-
11 | / //! ```standalone
26
-
12 | | //! bla
27
-
13 | | //! ```
28
-
14 | | //!
29
-
15 | | //! ```standalone-crate
30
-
16 | | //! bla
31
-
17 | | //! ```
25
+
LL | / //! ```standalone
26
+
LL | | //! bla
27
+
LL | | //! ```
28
+
LL | | //!
29
+
LL | | //! ```standalone-crate
30
+
LL | | //! bla
31
+
LL | | //! ```
32
32
| |_______^
33
33
|
34
34
= help: use `standalone_crate` to compile this code block separately
Copy file name to clipboardExpand all lines: tests/rustdoc-ui/doctest/warn-main-not-called.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
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
2
--> $DIR/warn-main-not-called.rs:10:1
3
3
|
4
-
10 | //! ```
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