Skip to content

New linting errors in rustc 1.80.0-nightly (9cdfe285c 2024-05-22) #601

@josecelano

Description

@josecelano
error: doc quote missing `>` marker
  --> src/lib.rs:91:5
   |
91 | //! different OS, you will need to install the equivalent packages. Please
   |     ^
   |
   = help: if this not intended to be a quote at all, escape it with `\>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
   = note: `-D clippy::doc-lazy-continuation` implied by `-D clippy::style`
   = help: to override `-D clippy::style` add `#[allow(clippy::doc_lazy_continuation)]`
help: add markers to start of line
   |
91 | //! > different OS, you will need to install the equivalent packages. Please
   |     +

error: doc quote missing `>` marker
  --> src/lib.rs:92:5
   |
92 | //! refer to the documentation of your OS.
   |     ^
   |
   = help: if this not intended to be a quote at all, escape it with `\>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: add markers to start of line
   |
92 | //! > refer to the documentation of your OS.
   |     +

error: doc quote missing `>` marker
   --> src/lib.rs:157:5
    |
157 | //! documentation for other commands to create new migrations or run them.
    |     ^
    |
    = help: if this not intended to be a quote at all, escape it with `\>`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: add markers to start of line
    |
157 | //! > documentation for other commands to create new migrations or run them.
    |     +

error: doc list item missing indentation
  --> src/console/commands/tracker_statistics_importer/app.rs:19:5
   |
19 | //! by default. See [`TrackerStatisticsImporter`](crate::config::TrackerStatisticsImporter)
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
19 | //!   by default. See [`TrackerStatisticsImporter`](crate::config::TrackerStatisticsImporter)
   |     ++

error: doc list item missing indentation
  --> src/console/commands/tracker_statistics_importer/app.rs:20:5
   |
20 | //! for more details.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
20 | //!   for more details.
   |     ++

error: doc list item missing indentation
  --> src/console/commands/tracker_statistics_importer/app.rs:23:5
   |
23 | //! the tracker in real time.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
23 | //!   the tracker in real time.
   |     ++

error: doc list item missing indentation
  --> src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs:26:5
   |
26 | //! are not stored in the filesystem anymore. This command reads the torrent
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
26 | //!   are not stored in the filesystem anymore. This command reads the torrent
   |     ++

error: doc list item missing indentation
  --> src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs:27:5
   |
27 | //! files from the filesystem and store them in the database.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
27 | //!   files from the filesystem and store them in the database.
   |     ++

error: doc list item missing indentation
  --> src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs:39:5
   |
39 | //! existing in v1. We changed that column to allow `NULL`. We also added the
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
39 | //!   existing in v1. We changed that column to allow `NULL`. We also added the
   |     ++

error: doc list item missing indentation
  --> src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs:40:5
   |
40 | //! new column `date_imported` with the datetime when the upgrader was executed.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
40 | //!   new column `date_imported` with the datetime when the upgrader was executed.
   |     ++

error: doc list item missing indentation
  --> src/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs:45:5
   |
45 | //! and `avatar`. Empty string is used as default value.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
45 | //!   and `avatar`. Empty string is used as default value.
   |     ++

error: doc list item missing indentation
  --> src/utils/parse_torrent.rs:97:5
   |
97 | ///  dictionary key.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
97 | ///   dictionary key.
   |      +

error: doc list item missing indentation
  --> src/utils/parse_torrent.rs:99:5
   |
99 | /// dictionary is not a valid bencoded dictionary.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
99 | ///   dictionary is not a valid bencoded dictionary.
   |     ++

error: could not compile `torrust-index` (lib) due to 13 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `torrust-index` (lib test) due to 13 previous errors

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions