Skip to content

Commit

Permalink
Remove last vestiges of HybridBitSet.
Browse files Browse the repository at this point in the history
This is in a test where the arrangement of backticks matters, but the
exact words do not.
  • Loading branch information
nnethercote committed Nov 29, 2024
1 parent 4846c19 commit d626f6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/rustdoc-ui/unescaped_backticks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ pub mod rustc {
pub fn with_options() {}

/// Subtracts `set from `row`. `set` can be either `BitSet` or
/// `HybridBitSet`. Has no effect if `row` does not exist.
/// `ChunkedBitSet`. Has no effect if `row` does not exist.
//~^ ERROR unescaped backtick
///
/// Returns true if the row was changed.
Expand Down
10 changes: 5 additions & 5 deletions tests/rustdoc-ui/unescaped_backticks.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,19 @@ LL | /// also avoids the need to import `OpenOptions\`.
| +

error: unescaped backtick
--> $DIR/unescaped_backticks.rs:221:46
--> $DIR/unescaped_backticks.rs:221:47
|
LL | /// `HybridBitSet`. Has no effect if `row` does not exist.
| ^
LL | /// `ChunkedBitSet`. Has no effect if `row` does not exist.
| ^
|
help: a previous inline code might be longer than expected
|
LL | /// Subtracts `set` from `row`. `set` can be either `BitSet` or
| +
help: if you meant to use a literal backtick, escape it
|
LL | /// `HybridBitSet`. Has no effect if `row\` does not exist.
| +
LL | /// `ChunkedBitSet`. Has no effect if `row\` does not exist.
| +

error: unescaped backtick
--> $DIR/unescaped_backticks.rs:247:12
Expand Down

0 comments on commit d626f6a

Please sign in to comment.