diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md index a0672d7252d6..351e0dd33b03 100644 --- a/book/src/lint_configuration.md +++ b/book/src/lint_configuration.md @@ -835,8 +835,6 @@ if no suggestion can be made. List of full paths of macros and functions, that can fail. If a test, or a function that the test calls contains a call to any one of these, lint will mark the test fallible. -By default this macros are defined as `assert!`, `assert_eq!`, `panic!`. - **Default Value:** `["core::panic", "core::assert", "core::assert_eq", "core::assert_ne"]` --- @@ -872,8 +870,6 @@ List of full paths of macros and functions, that we want to mark as "not going t This allows us to make the lint more focused on actual short comings of our test suite by marking common routines non-fallible, even though they are fallible. -By default this list contains: `println!`, `print!`, `dbg!`. - **Default Value:** `["std::print", "std::println", "std::dbg", "std::eprint", "std::eprintln"]` --- diff --git a/clippy_config/src/conf.rs b/clippy_config/src/conf.rs index 19fa5290ec52..8b59d9718753 100644 --- a/clippy_config/src/conf.rs +++ b/clippy_config/src/conf.rs @@ -636,8 +636,6 @@ define_Conf! { suppress_restriction_lint_in_const: bool = false, /// List of full paths of macros and functions, that can fail. If a test, or a function /// that the test calls contains a call to any one of these, lint will mark the test fallible. - /// - /// By default this macros are defined as `assert!`, `assert_eq!`, `panic!`. #[lints(test_without_fail_case)] test_without_fail_case_fallible_paths: Vec = DEFAULT_FALLIBLE_PATHS.iter().map(ToString::to_string).collect(), @@ -660,8 +658,6 @@ define_Conf! { /// List of full paths of macros and functions, that we want to mark as "not going to fail". /// This allows us to make the lint more focused on actual short comings of our test suite /// by marking common routines non-fallible, even though they are fallible. - /// - /// By default this list contains: `println!`, `print!`, `dbg!`. #[lints(test_without_fail_case)] test_without_fail_case_non_fallible_paths: Vec = DEFAULT_NONFALLIBLE_PATHS.iter().map(ToString::to_string).collect(),