summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/unescaped_backticks.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/unescaped_backticks.stderr')
-rw-r--r--tests/rustdoc-ui/unescaped_backticks.stderr143
1 files changed, 73 insertions, 70 deletions
diff --git a/tests/rustdoc-ui/unescaped_backticks.stderr b/tests/rustdoc-ui/unescaped_backticks.stderr
index bf1f18889..bd21dcb6e 100644
--- a/tests/rustdoc-ui/unescaped_backticks.stderr
+++ b/tests/rustdoc-ui/unescaped_backticks.stderr
@@ -1,5 +1,5 @@
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:186:70
+ --> $DIR/unescaped_backticks.rs:187:70
|
LL | /// if you want your MIR to be modified by the full MIR pipeline, or `#![custom_mir(dialect =
| ^
@@ -19,7 +19,7 @@ LL | /// if you want your MIR to be modified by the full MIR pipeline, or \`#![c
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:231:13
+ --> $DIR/unescaped_backticks.rs:232:13
|
LL | //! `#![rustc_expected_cgu_reuse(module="spike", cfg="rpass2", kind="post-lto")]
| ^
@@ -34,7 +34,7 @@ LL | //! \`#![rustc_expected_cgu_reuse(module="spike", cfg="rpass2", kin
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:236:13
+ --> $DIR/unescaped_backticks.rs:237:13
|
LL | /// `cfg=...
| ^
@@ -49,7 +49,7 @@ LL | /// \`cfg=...
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:240:42
+ --> $DIR/unescaped_backticks.rs:241:42
|
LL | /// `cfg=... and not `#[cfg_attr]`
| ^
@@ -64,22 +64,22 @@ LL | /// `cfg=... and not `#[cfg_attr]\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:192:91
+ --> $DIR/unescaped_backticks.rs:193:93
|
-LL | /// Constructs a `TyKind::Error` type and registers a `delay_span_bug` with the given `msg to
- | ^
+LL | /// Constructs a `TyKind::Error` type and registers a `span_delayed_bug` with the given `msg to
+ | ^
|
help: the closing backtick of an inline code may be missing
|
-LL | /// Constructs a `TyKind::Error` type and registers a `delay_span_bug` with the given `msg` to
- | +
+LL | /// Constructs a `TyKind::Error` type and registers a `span_delayed_bug` with the given `msg` to
+ | +
help: if you meant to use a literal backtick, escape it
|
-LL | /// Constructs a `TyKind::Error` type and registers a `delay_span_bug` with the given \`msg to
- | +
+LL | /// Constructs a `TyKind::Error` type and registers a `span_delayed_bug` with the given \`msg to
+ | +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:201:34
+ --> $DIR/unescaped_backticks.rs:202:34
|
LL | /// in `nt_to_tokenstream`
| ^
@@ -94,7 +94,7 @@ LL | /// in `nt_to_tokenstream\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:207:62
+ --> $DIR/unescaped_backticks.rs:208:62
|
LL | /// that `Option<Symbol>` only takes up 4 bytes, because `newtype_index! reserves
| ^
@@ -109,7 +109,7 @@ LL | /// that `Option<Symbol>` only takes up 4 bytes, because \`newtype_inde
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:215:52
+ --> $DIR/unescaped_backticks.rs:216:52
|
LL | /// also avoids the need to import `OpenOptions`.
| ^
@@ -124,7 +124,7 @@ LL | /// also avoids the need to import `OpenOptions\`.
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:220:46
+ --> $DIR/unescaped_backticks.rs:221:46
|
LL | /// `HybridBitSet`. Has no effect if `row` does not exist.
| ^
@@ -139,7 +139,7 @@ LL | /// `HybridBitSet`. Has no effect if `row\` does not exist.
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:246:12
+ --> $DIR/unescaped_backticks.rs:247:12
|
LL | /// RWU`s can get very large, so it uses a more compact representation.
| ^
@@ -154,7 +154,7 @@ LL | /// RWU\`s can get very large, so it uses a more compact representation
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:253:15
+ --> $DIR/unescaped_backticks.rs:254:15
|
LL | /// in `U2`.
| ^
@@ -169,7 +169,7 @@ LL | /// in `U2\`.
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:270:42
+ --> $DIR/unescaped_backticks.rs:271:42
|
LL | /// because it contains `[type error]`. Yuck! (See issue #29857 for
| ^
@@ -184,7 +184,7 @@ LL | /// because it contains `[type error]\`. Yuck! (See issue #29857 for
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:280:53
+ --> $DIR/unescaped_backticks.rs:281:53
|
LL | /// well as the second instance of `A: AutoTrait`) to suppress
| ^
@@ -199,7 +199,7 @@ LL | /// well as the second instance of `A: AutoTrait\`) to suppress
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:290:40
+ --> $DIR/unescaped_backticks.rs:291:40
|
LL | /// `'a` with `'b` and not `'static`. But it will have to do for
| ^
@@ -211,7 +211,7 @@ LL | /// `'a` with `'b` and not `'static\`. But it will have to do for
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:299:54
+ --> $DIR/unescaped_backticks.rs:300:54
|
LL | /// `None`. Otherwise, it will return `Some(Dispatch)`.
| ^
@@ -226,7 +226,7 @@ LL | /// `None`. Otherwise, it will return `Some(Dispatch)\`.
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:303:13
+ --> $DIR/unescaped_backticks.rs:304:13
|
LL | /// or `None` if it isn't.
| ^
@@ -238,7 +238,7 @@ LL | /// or `None\` if it isn't.
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:307:14
+ --> $DIR/unescaped_backticks.rs:308:14
|
LL | /// `on_event` should be called.
| ^
@@ -253,7 +253,7 @@ LL | /// `on_event\` should be called.
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:312:29
+ --> $DIR/unescaped_backticks.rs:313:29
|
LL | /// [`rebuild_interest_cache`][rebuild] is called after the value of the max
| ^
@@ -268,7 +268,7 @@ LL | /// [`rebuild_interest_cache\`][rebuild] is called after the value of the m
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:322:5
+ --> $DIR/unescaped_backticks.rs:323:5
|
LL | / /// The Subscriber` may be accessed by calling [`WeakDispatch::upgrade`],
LL | |
@@ -287,7 +287,7 @@ LL | | /// level changes.
to this: `None`. Otherwise, it will return `Some(Dispatch)\`.
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:322:5
+ --> $DIR/unescaped_backticks.rs:323:5
|
LL | / /// The Subscriber` may be accessed by calling [`WeakDispatch::upgrade`],
LL | |
@@ -302,9 +302,10 @@ LL | | /// level changes.
= help: if you meant to use a literal backtick, escape it
change: or `None` if it isn't.
to this: or `None\` if it isn't.
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:322:5
+ --> $DIR/unescaped_backticks.rs:323:5
|
LL | / /// The Subscriber` may be accessed by calling [`WeakDispatch::upgrade`],
LL | |
@@ -321,9 +322,10 @@ LL | | /// level changes.
= help: if you meant to use a literal backtick, escape it
change: `on_event` should be called.
to this: `on_event\` should be called.
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:322:5
+ --> $DIR/unescaped_backticks.rs:323:5
|
LL | / /// The Subscriber` may be accessed by calling [`WeakDispatch::upgrade`],
LL | |
@@ -340,9 +342,10 @@ LL | | /// level changes.
= help: if you meant to use a literal backtick, escape it
change: [`rebuild_interest_cache`][rebuild] is called after the value of the max
to this: [`rebuild_interest_cache\`][rebuild] is called after the value of the max
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:348:56
+ --> $DIR/unescaped_backticks.rs:349:56
|
LL | /// instead and use [`CloneCounterObserver::counter`] to increment.
| ^
@@ -354,7 +357,7 @@ LL | /// instead and use [`CloneCounterObserver::counter\`] to increment.
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:11:5
+ --> $DIR/unescaped_backticks.rs:12:5
|
LL | /// `
| ^
@@ -366,7 +369,7 @@ LL | /// \`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:18:7
+ --> $DIR/unescaped_backticks.rs:19:7
|
LL | /// \`
| ^
@@ -381,7 +384,7 @@ LL | /// \\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:25:6
+ --> $DIR/unescaped_backticks.rs:26:6
|
LL | /// [`link1]
| ^
@@ -396,7 +399,7 @@ LL | /// [\`link1]
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:29:11
+ --> $DIR/unescaped_backticks.rs:30:11
|
LL | /// [link2`]
| ^
@@ -411,7 +414,7 @@ LL | /// [link2\`]
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:33:6
+ --> $DIR/unescaped_backticks.rs:34:6
|
LL | /// [`link_long](link_long)
| ^
@@ -426,7 +429,7 @@ LL | /// [\`link_long](link_long)
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:37:6
+ --> $DIR/unescaped_backticks.rs:38:6
|
LL | /// [`broken-link]
| ^
@@ -441,7 +444,7 @@ LL | /// [\`broken-link]
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:44:8
+ --> $DIR/unescaped_backticks.rs:45:8
|
LL | /// <x:`>
| ^
@@ -456,7 +459,7 @@ LL | /// <x:\`>
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:54:6
+ --> $DIR/unescaped_backticks.rs:55:6
|
LL | /// 🦀`🦀
| ^
@@ -475,7 +478,7 @@ LL | /// 🦀\`🦀
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:58:5
+ --> $DIR/unescaped_backticks.rs:59:5
|
LL | /// `foo(
| ^
@@ -490,7 +493,7 @@ LL | /// \`foo(
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:64:14
+ --> $DIR/unescaped_backticks.rs:65:14
|
LL | /// `foo `bar`
| ^
@@ -505,7 +508,7 @@ LL | /// `foo `bar\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:70:5
+ --> $DIR/unescaped_backticks.rs:71:5
|
LL | /// `foo(
| ^
@@ -520,7 +523,7 @@ LL | /// \`foo(
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:75:83
+ --> $DIR/unescaped_backticks.rs:76:83
|
LL | /// Addition is commutative, which means that add(a, b)` is the same as `add(b, a)`.
| ^
@@ -535,7 +538,7 @@ LL | /// Addition is commutative, which means that add(a, b)` is the same as `ad
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:79:51
+ --> $DIR/unescaped_backticks.rs:80:51
|
LL | /// or even to add a number `n` to 42 (`add(42, b)`)!
| ^
@@ -550,7 +553,7 @@ LL | /// or even to add a number `n` to 42 (`add(42, b)\`)!
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:83:83
+ --> $DIR/unescaped_backticks.rs:84:83
|
LL | /// Addition is commutative, which means that `add(a, b) is the same as `add(b, a)`.
| ^
@@ -565,7 +568,7 @@ LL | /// Addition is commutative, which means that `add(a, b) is the same as `ad
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:87:51
+ --> $DIR/unescaped_backticks.rs:88:51
|
LL | /// or even to add a number `n` to 42 (`add(42, n)`)!
| ^
@@ -580,7 +583,7 @@ LL | /// or even to add a number `n` to 42 (`add(42, n)\`)!
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:91:83
+ --> $DIR/unescaped_backticks.rs:92:83
|
LL | /// Addition is commutative, which means that `add(a, b)` is the same as add(b, a)`.
| ^
@@ -595,7 +598,7 @@ LL | /// Addition is commutative, which means that `add(a, b)` is the same as ad
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:95:50
+ --> $DIR/unescaped_backticks.rs:96:50
|
LL | /// or even to add a number `n` to 42 (add(42, n)`)!
| ^
@@ -610,7 +613,7 @@ LL | /// or even to add a number `n` to 42 (add(42, n)\`)!
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:99:74
+ --> $DIR/unescaped_backticks.rs:100:74
|
LL | /// Addition is commutative, which means that `add(a, b)` is the same as `add(b, a).
| ^
@@ -625,7 +628,7 @@ LL | /// Addition is commutative, which means that `add(a, b)` is the same as \`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:103:51
+ --> $DIR/unescaped_backticks.rs:104:51
|
LL | /// or even to add a number `n` to 42 (`add(42, n)`)!
| ^
@@ -640,7 +643,7 @@ LL | /// or even to add a number `n` to 42 (`add(42, n)\`)!
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:107:1
+ --> $DIR/unescaped_backticks.rs:108:1
|
LL | #[doc = "`"]
| ^^^^^^^^^^^^
@@ -651,7 +654,7 @@ LL | #[doc = "`"]
to this: \`
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:114:1
+ --> $DIR/unescaped_backticks.rs:115:1
|
LL | #[doc = concat!("\\", "`")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -664,7 +667,7 @@ LL | #[doc = concat!("\\", "`")]
to this: \\`
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:118:1
+ --> $DIR/unescaped_backticks.rs:119:1
|
LL | #[doc = "Addition is commutative, which means that add(a, b)` is the same as `add(b, a)`."]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -677,7 +680,7 @@ LL | #[doc = "Addition is commutative, which means that add(a, b)` is the same a
to this: Addition is commutative, which means that add(a, b)` is the same as `add(b, a)\`.
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:122:1
+ --> $DIR/unescaped_backticks.rs:123:1
|
LL | #[doc = "Addition is commutative, which means that `add(a, b) is the same as `add(b, a)`."]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -690,7 +693,7 @@ LL | #[doc = "Addition is commutative, which means that `add(a, b) is the same a
to this: Addition is commutative, which means that `add(a, b) is the same as `add(b, a)\`.
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:126:1
+ --> $DIR/unescaped_backticks.rs:127:1
|
LL | #[doc = "Addition is commutative, which means that `add(a, b)` is the same as add(b, a)`."]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -703,7 +706,7 @@ LL | #[doc = "Addition is commutative, which means that `add(a, b)` is the same
to this: Addition is commutative, which means that `add(a, b)` is the same as add(b, a)\`.
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:130:1
+ --> $DIR/unescaped_backticks.rs:131:1
|
LL | #[doc = "Addition is commutative, which means that `add(a, b)` is the same as `add(b, a)."]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -716,7 +719,7 @@ LL | #[doc = "Addition is commutative, which means that `add(a, b)` is the same
to this: Addition is commutative, which means that `add(a, b)` is the same as \`add(b, a).
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:135:5
+ --> $DIR/unescaped_backticks.rs:136:5
|
LL | /// `foo
| ^
@@ -731,7 +734,7 @@ LL | /// \`foo
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:139:7
+ --> $DIR/unescaped_backticks.rs:140:7
|
LL | /// # `(heading
| ^
@@ -746,7 +749,7 @@ LL | /// # \`(heading
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:141:17
+ --> $DIR/unescaped_backticks.rs:142:17
|
LL | /// ## heading2)`
| ^
@@ -761,7 +764,7 @@ LL | /// ## heading2)\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:144:11
+ --> $DIR/unescaped_backticks.rs:145:11
|
LL | /// multi `(
| ^
@@ -776,7 +779,7 @@ LL | /// multi \`(
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:150:10
+ --> $DIR/unescaped_backticks.rs:151:10
|
LL | /// para)`(graph
| ^
@@ -795,7 +798,7 @@ LL | /// para)\`(graph
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:153:10
+ --> $DIR/unescaped_backticks.rs:154:10
|
LL | /// para)`(graph2
| ^
@@ -814,7 +817,7 @@ LL | /// para)\`(graph2
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:156:12
+ --> $DIR/unescaped_backticks.rs:157:12
|
LL | /// 1. foo)`
| ^
@@ -829,7 +832,7 @@ LL | /// 1. foo)\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:158:8
+ --> $DIR/unescaped_backticks.rs:159:8
|
LL | /// 2. `(bar
| ^
@@ -844,7 +847,7 @@ LL | /// 2. \`(bar
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:160:11
+ --> $DIR/unescaped_backticks.rs:161:11
|
LL | /// * baz)`
| ^
@@ -859,7 +862,7 @@ LL | /// * baz)\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:162:7
+ --> $DIR/unescaped_backticks.rs:163:7
|
LL | /// * `(quux
| ^
@@ -874,7 +877,7 @@ LL | /// * \`(quux
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:165:5
+ --> $DIR/unescaped_backticks.rs:166:5
|
LL | /// `#![this_is_actually_an_image(and(not), an = "attribute")]
| ^
@@ -889,7 +892,7 @@ LL | /// \`#![this_is_actually_an_image(and(not), an = "attribute")]
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:168:62
+ --> $DIR/unescaped_backticks.rs:169:62
|
LL | /// #![this_is_actually_an_image(and(not), an = "attribute")]`
| ^
@@ -904,7 +907,7 @@ LL | /// #![this_is_actually_an_image(and(not), an = "attribute")]\`
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:173:7
+ --> $DIR/unescaped_backticks.rs:174:7
|
LL | /// | `table( | )head` |
| ^
@@ -919,7 +922,7 @@ LL | /// | \`table( | )head` |
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:173:22
+ --> $DIR/unescaped_backticks.rs:174:22
|
LL | /// | `table( | )head` |
| ^
@@ -934,7 +937,7 @@ LL | /// | `table( | )head\` |
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:177:12
+ --> $DIR/unescaped_backticks.rs:178:12
|
LL | /// | table`( | )`body |
| ^
@@ -949,7 +952,7 @@ LL | /// | table\`( | )`body |
| +
error: unescaped backtick
- --> $DIR/unescaped_backticks.rs:177:18
+ --> $DIR/unescaped_backticks.rs:178:18
|
LL | /// | table`( | )`body |
| ^