mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 19:33:16 +00:00
Fix error punctuation
This commit is contained in:
parent
1e22e564e4
commit
857d9f15da
@ -102,7 +102,7 @@ define_Conf! {
|
|||||||
/// Lint: COGNITIVE_COMPLEXITY. The maximum cognitive complexity a function can have
|
/// Lint: COGNITIVE_COMPLEXITY. The maximum cognitive complexity a function can have
|
||||||
(cognitive_complexity_threshold: u64 = 25),
|
(cognitive_complexity_threshold: u64 = 25),
|
||||||
/// DEPRECATED LINT: CYCLOMATIC_COMPLEXITY. Use the Cognitive Complexity lint instead.
|
/// DEPRECATED LINT: CYCLOMATIC_COMPLEXITY. Use the Cognitive Complexity lint instead.
|
||||||
#[conf_deprecated("Please use `cognitive-complexity-threshold` instead.")]
|
#[conf_deprecated("Please use `cognitive-complexity-threshold` instead")]
|
||||||
(cyclomatic_complexity_threshold: Option<u64>),
|
(cyclomatic_complexity_threshold: Option<u64>),
|
||||||
/// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks
|
/// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks
|
||||||
(doc_valid_idents: Vec<String> = [
|
(doc_valid_idents: Vec<String> = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
error: error reading Clippy's configuration file `$DIR/clippy.toml`: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead.
|
error: error reading Clippy's configuration file `$DIR/clippy.toml`: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead
|
||||||
|
|
||||||
error: aborting due to previous error
|
error: aborting due to previous error
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user