Skip to content

Rollup of 8 pull requests #101733

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 22 commits into from

Conversation

GuillaumeGomez
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

compiler-errors and others added 22 commits August 5, 2022 23:53
And into `AttrAnnotatedTokenTree::Token`.

PR rust-lang#99887 did the same thing for `TokenStream`.
These two type names are long and have long matching prefixes. I find
them hard to read, especially in combinations like
`AttrAnnotatedTokenStream::new(vec![AttrAnnotatedTokenTree::Token(..)])`.

This commit renames them as `AttrToken{Stream,Tree}`.
The `AttrTokenStream` is always immediately turned into a `TokenStream`.
`To` is better than `Create` for indicating that this is a non-consuming
conversion, rather than creating something out of nothing.

And the addition of `Attr` is because the current names makes them sound
like they relate to `TokenStream`, but really they relate to
`AttrTokenStream`.
Based on some poor suggestions produced when stablizing this lint and running
it on `manformed-generics.rs`
…sleywiser

Fix `ReErased` leaking into typeck due to `typeof(...)` recovery

Fixes rust-lang#100183
…=oli-obk

constify some `CStr` methods

This PR marks the following public APIs as `const`:
```rust
impl CStr {
    // feature(const_cstr_from_bytes)
    pub const fn from_bytes_until_nul(bytes: &[u8]) -> Result<&CStr, FromBytesUntilNulError>;
    pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, FromBytesWithNulError>;

    // feature(const_cstr_to_bytes)
    pub const fn to_bytes(&self) -> &[u8];
    pub const fn to_bytes_with_nul(&self) -> &[u8];
    pub const fn to_str(&self) -> Result<&str, str::Utf8Error>;
}
```

r? `@oli-obk` (use of `const_eval_select` :P )
cc `@mina86` (you've asked for this <3 )
…rochenkov

Streamline `AttrAnnotatedTokenStream`

r? `@petrochenkov`
…avidtwco

A `SubstitutionPart` is not considered a deletion if it replaces nothing with nothing

Fixes rust-lang#101689
…errors

Impove diagnostic for `.await`ing non-futures

Strip leading whitespace from the span and use a non-verbose suggestion.
fixes rust-lang#101715
…k, r=oli-obk

Allow unauthenticated users to add the `const-hack` label

Observed in rust-lang#101401.

cc `@oli-obk`
…html-check, r=GuillaumeGomez

rustdoc: improve rustdoc HTML suggestions handling of nested generics

Based on some poor suggestions produced when stablizing this lint and running it on `manformed-generics.rs` in rust-lang#101720
@rustbot rustbot added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Sep 12, 2022
@GuillaumeGomez
Copy link
Member Author

@bors r+ p=5 rollup=never

@bors
Copy link
Collaborator

bors commented Sep 12, 2022

📌 Commit c8d5541 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Sep 12, 2022
@bors
Copy link
Collaborator

bors commented Sep 12, 2022

⌛ Testing commit c8d5541 with merge 2c4563665f068d274f03eedd3d7cd66e220eddb5...

@bors
Copy link
Collaborator

bors commented Sep 12, 2022

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 12, 2022
@GuillaumeGomez GuillaumeGomez deleted the rollup-ogwdw2d branch September 12, 2022 19:38
@compiler-errors
Copy link
Member

I think it actually might be #101700 that failed here...

@GuillaumeGomez
Copy link
Member Author

Oh thanks! I'll change the status of the other PR then.

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  IMAGE: x86_64-gnu-tools
##[endgroup]
From https://github.com/rust-lang/rust
 * branch              master     -> FETCH_HEAD
Searching for toolstate changes between 52e003a6e93940ae49cbfc806c72ed5b0217cf4e and 1f5c38668fbce2dc6ff45ae6783245569f1ecced
Rustdoc was updated
##[group]Run src/ci/scripts/verify-channel.sh
src/ci/scripts/verify-channel.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
---
 error: using tabs in doc comments is not recommended
   --> $DIR/ice-5835.rs:3:10
    |
 LL |     /// 位    
-   |           ^^^^ help: consider using four spaces per tab
+   |           ^^^^ help: consider using four spaces per tab: `    `
    |
    = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
 error: aborting due to previous error
 
 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/crashes/ice-5835.stage-id.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args crashes/ice-5835.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "tests/ui/crashes/ice-5835.rs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/crashes/ice-5835.stage-id" "-A" "unused" "--emit=metadata" "-Dwarnings" "-Zui-testing" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--extern" "derive_new=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libderive_new-14dbc812a1f5dba0.so" "--extern" "quote=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-021aec868151835c.rlib" "--extern" "parking_lot=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-4554cde6a1339e03.rlib" "--extern" "syn=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-c6aa3eacac0eeebb.rlib" "--extern" "regex=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-619ac20e364f2b2c.rlib" "--extern" "clippy_utils=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-47229815ed3188f9.rlib" "--extern" "serde_derive=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-eed8221ad604f845.so" "--extern" "clippy_lints=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-a74d54f3750f2f75.rlib" "--extern" "serde=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-4b46e2e2788394f2.rlib" "--extern" "itertools=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-cdd893c121eb00e4.rlib" "--extern" "if_chain=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-03f75cdc6d4d3afc.rlib" "--extern" "rustc_semver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/librustc_semver-963bbd3f89834643.rlib" "--extern" "futures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-e92c80438a94fde5.rlib" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-e0524b7e2611e851.rlib" "--edition=2021" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/crashes/ice-5835.stage-id.aux"
------------------------------------------

------------------------------------------
stderr:
stderr:
------------------------------------------
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/crashes/ice-5835.rs","byte_start":45,"byte_end":46,"line_start":3,"line_end":3,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":"    /// 位\t","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::tabs-in-doc-comments` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/crashes/ice-5835.rs","byte_start":45,"byte_end":46,"line_start":3,"line_end":3,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":"    /// 位\t","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/crashes/ice-5835.rs:3:10\n   |\nLL |     /// 位    \n   |           ^^^^ help: consider using four spaces per tab: `    `\n   |\n   = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`\n\n"}

------------------------------------------

diff of stderr:
diff of stderr:

 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:12:9
    |
 LL |     ///     - First String:
-   |         ^^^^ help: consider using four spaces per tab
+   |         ^^^^ help: consider using four spaces per tab: `    `
    |
    = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:13:9
    |
    |
 LL |     ///         - needs to be inside here
-   |         ^^^^^^^^ help: consider using four spaces per tab
+   |         ^^^^^^^^ help: consider using four spaces per tab: `        `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:16:9
    |
 LL |     ///     - Second String:
 LL |     ///     - Second String:
-   |         ^^^^ help: consider using four spaces per tab
+   |         ^^^^ help: consider using four spaces per tab: `    `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:17:9
    |
    |
 LL |     ///         - needs to be inside here
-   |         ^^^^^^^^ help: consider using four spaces per tab
+   |         ^^^^^^^^ help: consider using four spaces per tab: `        `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:8:5
    |
 LL | ///     - first        one
 LL | ///     - first        one
-   |     ^^^^ help: consider using four spaces per tab
+   |     ^^^^ help: consider using four spaces per tab: `    `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:8:13
    |
 LL | ///     - first        one
 LL | ///     - first        one
-   |                ^^^^^^^^ help: consider using four spaces per tab
+   |                ^^^^^^^^ help: consider using four spaces per tab: `        `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:9:5
    |
 LL | ///     - second    one
 LL | ///     - second    one
-   |     ^^^^ help: consider using four spaces per tab
+   |     ^^^^ help: consider using four spaces per tab: `    `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:9:14
    |
 LL | ///     - second    one
 LL | ///     - second    one
-   |                 ^^^^ help: consider using four spaces per tab
+   |                 ^^^^ help: consider using four spaces per tab: `    `
 error: aborting due to 8 previous errors
 
 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/tabs_in_doc_comments.stage-id.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args tabs_in_doc_comments.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "tests/ui/tabs_in_doc_comments.rs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/tabs_in_doc_comments.stage-id" "-A" "unused" "--emit=metadata" "-Dwarnings" "-Zui-testing" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--extern" "derive_new=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libderive_new-14dbc812a1f5dba0.so" "--extern" "quote=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-021aec868151835c.rlib" "--extern" "parking_lot=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-4554cde6a1339e03.rlib" "--extern" "syn=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-c6aa3eacac0eeebb.rlib" "--extern" "regex=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-619ac20e364f2b2c.rlib" "--extern" "clippy_utils=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-47229815ed3188f9.rlib" "--extern" "serde_derive=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-eed8221ad604f845.so" "--extern" "clippy_lints=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-a74d54f3750f2f75.rlib" "--extern" "serde=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-4b46e2e2788394f2.rlib" "--extern" "itertools=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-cdd893c121eb00e4.rlib" "--extern" "if_chain=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-03f75cdc6d4d3afc.rlib" "--extern" "rustc_semver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/librustc_semver-963bbd3f89834643.rlib" "--extern" "futures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-e92c80438a94fde5.rlib" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-e0524b7e2611e851.rlib" "--edition=2021" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/tabs_in_doc_comments.stage-id.aux"
------------------------------------------

------------------------------------------
stderr:
stderr:
------------------------------------------
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":190,"byte_end":191,"line_start":12,"line_end":12,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- First String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::tabs-in-doc-comments` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":190,"byte_end":191,"line_start":12,"line_end":12,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- First String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:12:9\n   |\nLL |     ///     - First String:\n   |         ^^^^ help: consider using four spaces per tab: `    `\n   |\n   = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":215,"byte_end":217,"line_start":13,"line_end":13,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":215,"byte_end":217,"line_start":13,"line_end":13,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":"        ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:13:9\n   |\nLL |     ///         - needs to be inside here\n   |         ^^^^^^^^ help: consider using four spaces per tab: `        `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":285,"byte_end":286,"line_start":16,"line_end":16,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- Second String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":285,"byte_end":286,"line_start":16,"line_end":16,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- Second String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:16:9\n   |\nLL |     ///     - Second String:\n   |         ^^^^ help: consider using four spaces per tab: `    `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":311,"byte_end":313,"line_start":17,"line_end":17,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":311,"byte_end":313,"line_start":17,"line_end":17,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":"        ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:17:9\n   |\nLL |     ///         - needs to be inside here\n   |         ^^^^^^^^ help: consider using four spaces per tab: `        `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":116,"byte_end":117,"line_start":8,"line_end":8,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":116,"byte_end":117,"line_start":8,"line_end":8,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:8:5\n   |\nLL | ///     - first        one\n   |     ^^^^ help: consider using four spaces per tab: `    `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":124,"byte_end":126,"line_start":8,"line_end":8,"column_start":13,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":13,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":124,"byte_end":126,"line_start":8,"line_end":8,"column_start":13,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":13,"highlight_end":15}],"label":null,"suggested_replacement":"        ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:8:13\n   |\nLL | ///     - first        one\n   |                ^^^^^^^^ help: consider using four spaces per tab: `        `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":134,"byte_end":135,"line_start":9,"line_end":9,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":134,"byte_end":135,"line_start":9,"line_end":9,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:9:5\n   |\nLL | ///     - second    one\n   |     ^^^^ help: consider using four spaces per tab: `    `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":143,"byte_end":144,"line_start":9,"line_end":9,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":143,"byte_end":144,"line_start":9,"line_end":9,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:9:14\n   |\nLL | ///     - second    one\n   |                 ^^^^ help: consider using four spaces per tab: `    `\n\n"}

------------------------------------------

thread 'compile_test' panicked at 'Some tests failed', /cargo/registry/src/github.heygears.com-1ecc6299db9ec823/compiletest_rs-0.8.0/src/lib.rs:111:22

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
 error: using tabs in doc comments is not recommended
   --> $DIR/ice-5835.rs:3:10
    |
 LL |     /// 位    
-   |           ^^^^ help: consider using four spaces per tab
+   |           ^^^^ help: consider using four spaces per tab: `    `
    |
    = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
 error: aborting due to previous error
 
 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/crashes/ice-5835.stage-id.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args crashes/ice-5835.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "tests/ui/crashes/ice-5835.rs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/crashes/ice-5835.stage-id" "-A" "unused" "--emit=metadata" "-Dwarnings" "-Zui-testing" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--extern" "derive_new=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libderive_new-14dbc812a1f5dba0.so" "--extern" "itertools=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-cdd893c121eb00e4.rlib" "--extern" "quote=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-021aec868151835c.rlib" "--extern" "serde=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-4b46e2e2788394f2.rlib" "--extern" "clippy_utils=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-47229815ed3188f9.rlib" "--extern" "if_chain=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-03f75cdc6d4d3afc.rlib" "--extern" "clippy_lints=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-a74d54f3750f2f75.rlib" "--extern" "syn=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-c6aa3eacac0eeebb.rlib" "--extern" "parking_lot=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-4554cde6a1339e03.rlib" "--extern" "futures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-e92c80438a94fde5.rlib" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-e0524b7e2611e851.rlib" "--extern" "regex=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-619ac20e364f2b2c.rlib" "--extern" "rustc_semver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/librustc_semver-963bbd3f89834643.rlib" "--extern" "serde_derive=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-eed8221ad604f845.so" "--edition=2021" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/crashes/ice-5835.stage-id.aux"
------------------------------------------

------------------------------------------
stderr:
stderr:
------------------------------------------
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/crashes/ice-5835.rs","byte_start":45,"byte_end":46,"line_start":3,"line_end":3,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":"    /// 位\t","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::tabs-in-doc-comments` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/crashes/ice-5835.rs","byte_start":45,"byte_end":46,"line_start":3,"line_end":3,"column_start":10,"column_end":11,"is_primary":true,"text":[{"text":"    /// 位\t","highlight_start":10,"highlight_end":11}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/crashes/ice-5835.rs:3:10\n   |\nLL |     /// 位    \n   |           ^^^^ help: consider using four spaces per tab: `    `\n   |\n   = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`\n\n"}

------------------------------------------

diff of stderr:
diff of stderr:

 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:12:9
    |
 LL |     ///     - First String:
-   |         ^^^^ help: consider using four spaces per tab
+   |         ^^^^ help: consider using four spaces per tab: `    `
    |
    = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:13:9
    |
    |
 LL |     ///         - needs to be inside here
-   |         ^^^^^^^^ help: consider using four spaces per tab
+   |         ^^^^^^^^ help: consider using four spaces per tab: `        `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:16:9
    |
 LL |     ///     - Second String:
 LL |     ///     - Second String:
-   |         ^^^^ help: consider using four spaces per tab
+   |         ^^^^ help: consider using four spaces per tab: `    `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:17:9
    |
    |
 LL |     ///         - needs to be inside here
-   |         ^^^^^^^^ help: consider using four spaces per tab
+   |         ^^^^^^^^ help: consider using four spaces per tab: `        `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:8:5
    |
 LL | ///     - first        one
 LL | ///     - first        one
-   |     ^^^^ help: consider using four spaces per tab
+   |     ^^^^ help: consider using four spaces per tab: `    `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:8:13
    |
 LL | ///     - first        one
 LL | ///     - first        one
-   |                ^^^^^^^^ help: consider using four spaces per tab
+   |                ^^^^^^^^ help: consider using four spaces per tab: `        `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:9:5
    |
 LL | ///     - second    one
 LL | ///     - second    one
-   |     ^^^^ help: consider using four spaces per tab
+   |     ^^^^ help: consider using four spaces per tab: `    `
 error: using tabs in doc comments is not recommended
   --> $DIR/tabs_in_doc_comments.rs:9:14
    |
 LL | ///     - second    one
 LL | ///     - second    one
-   |                 ^^^^ help: consider using four spaces per tab
+   |                 ^^^^ help: consider using four spaces per tab: `    `
 error: aborting due to 8 previous errors
 
 


The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/tabs_in_doc_comments.stage-id.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args tabs_in_doc_comments.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "tests/ui/tabs_in_doc_comments.rs" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/tabs_in_doc_comments.stage-id" "-A" "unused" "--emit=metadata" "-Dwarnings" "-Zui-testing" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "-L" "dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--extern" "derive_new=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libderive_new-14dbc812a1f5dba0.so" "--extern" "itertools=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-cdd893c121eb00e4.rlib" "--extern" "quote=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-021aec868151835c.rlib" "--extern" "serde=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-4b46e2e2788394f2.rlib" "--extern" "clippy_utils=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-47229815ed3188f9.rlib" "--extern" "if_chain=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-03f75cdc6d4d3afc.rlib" "--extern" "clippy_lints=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-a74d54f3750f2f75.rlib" "--extern" "syn=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-c6aa3eacac0eeebb.rlib" "--extern" "parking_lot=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-4554cde6a1339e03.rlib" "--extern" "futures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-e92c80438a94fde5.rlib" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-e0524b7e2611e851.rlib" "--extern" "regex=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-619ac20e364f2b2c.rlib" "--extern" "rustc_semver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/librustc_semver-963bbd3f89834643.rlib" "--extern" "serde_derive=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-eed8221ad604f845.so" "--edition=2021" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/test/ui/tabs_in_doc_comments.stage-id.aux"
------------------------------------------

------------------------------------------
stderr:
stderr:
------------------------------------------
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":190,"byte_end":191,"line_start":12,"line_end":12,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- First String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`-D clippy::tabs-in-doc-comments` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":190,"byte_end":191,"line_start":12,"line_end":12,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- First String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:12:9\n   |\nLL |     ///     - First String:\n   |         ^^^^ help: consider using four spaces per tab: `    `\n   |\n   = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":215,"byte_end":217,"line_start":13,"line_end":13,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":215,"byte_end":217,"line_start":13,"line_end":13,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":"        ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:13:9\n   |\nLL |     ///         - needs to be inside here\n   |         ^^^^^^^^ help: consider using four spaces per tab: `        `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":285,"byte_end":286,"line_start":16,"line_end":16,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- Second String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":285,"byte_end":286,"line_start":16,"line_end":16,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"    /// \t- Second String:","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:16:9\n   |\nLL |     ///     - Second String:\n   |         ^^^^ help: consider using four spaces per tab: `    `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":311,"byte_end":313,"line_start":17,"line_end":17,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":311,"byte_end":313,"line_start":17,"line_end":17,"column_start":9,"column_end":11,"is_primary":true,"text":[{"text":"    /// \t\t- needs to be inside here","highlight_start":9,"highlight_end":11}],"label":null,"suggested_replacement":"        ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:17:9\n   |\nLL |     ///         - needs to be inside here\n   |         ^^^^^^^^ help: consider using four spaces per tab: `        `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":116,"byte_end":117,"line_start":8,"line_end":8,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":116,"byte_end":117,"line_start":8,"line_end":8,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:8:5\n   |\nLL | ///     - first        one\n   |     ^^^^ help: consider using four spaces per tab: `    `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":124,"byte_end":126,"line_start":8,"line_end":8,"column_start":13,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":13,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":124,"byte_end":126,"line_start":8,"line_end":8,"column_start":13,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- first\t\tone","highlight_start":13,"highlight_end":15}],"label":null,"suggested_replacement":"        ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:8:13\n   |\nLL | ///     - first        one\n   |                ^^^^^^^^ help: consider using four spaces per tab: `        `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":134,"byte_end":135,"line_start":9,"line_end":9,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":134,"byte_end":135,"line_start":9,"line_end":9,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":5,"highlight_end":6}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:9:5\n   |\nLL | ///     - second    one\n   |     ^^^^ help: consider using four spaces per tab: `    `\n\n"}
{"message":"using tabs in doc comments is not recommended","code":{"code":"clippy::tabs_in_doc_comments","explanation":null},"level":"error","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":143,"byte_end":144,"line_start":9,"line_end":9,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using four spaces per tab","code":null,"level":"help","spans":[{"file_name":"tests/ui/tabs_in_doc_comments.rs","byte_start":143,"byte_end":144,"line_start":9,"line_end":9,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":"/// \t- second\tone","highlight_start":14,"highlight_end":15}],"label":null,"suggested_replacement":"    ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error: using tabs in doc comments is not recommended\n  --> tests/ui/tabs_in_doc_comments.rs:9:14\n   |\nLL | ///     - second    one\n   |                 ^^^^ help: consider using four spaces per tab: `    `\n\n"}

------------------------------------------

thread 'compile_test' panicked at 'Some tests failed', /cargo/registry/src/github.heygears.com-1ecc6299db9ec823/compiletest_rs-0.8.0/src/lib.rs:111:22

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants