589 |
#[cfg(test)]
|
590 |
#[allow(clippy::panic_in_result_fn)]
|
591 |
mod tests {
|
58 |
// so this will never panic
|
59 |
#[allow(clippy::panic_in_result_fn)]
|
60 |
impl TryFrom<Message> for sonar::Issue {
|
98 |
// TODO: update Clippy
|
99 |
#[allow(clippy::panic_in_result_fn, clippy::unwrap_in_result)]
|
100 |
pub(super) fn send_any<A: Serialize>(&self, data: &A) -> Result<()> {
|
493 |
/// Handle a dash immediately following a range within a character class.
|
494 |
#[allow(clippy::panic_in_result_fn)]
|
495 |
#[allow(clippy::unreachable)]
|
104 |
#[allow(unused_qualifications)]
|
105 |
#[allow(clippy::panic_in_result_fn)]
|
106 |
fn parse_rev_paths<S: AsRef<OsStr> + std::fmt::Debug + std::convert::From<String>>(
|
98 |
#[allow(clippy::panic_in_result_fn)] // Propogate the panic that occurred in call provided by client.
|
99 |
#[throws(Failure<Self::Flaws>)]
|
360 |
#[allow(clippy::panic_in_result_fn)] // version/layer/mode unreachable!()
|
361 |
pub(crate) fn try_read<R: Read>(
|
95 |
// Custom handling and transformation of I/O errors
|
96 |
#[allow(clippy::panic_in_result_fn)] // unreachable!()
|
97 |
fn after_record_written(&mut self, res: StdResult<(), ::csv::Error>) -> Result<WriteResult> {
|
18 |
impl csv::StringRecordDeserializer<StorageRecord> for StorageRecordDeserializer {
|
19 |
#[allow(clippy::panic_in_result_fn)] // unimplemented!()
|
20 |
fn deserialize_string_record(
|
541 |
{
|
542 |
#[allow(clippy::panic_in_result_fn)] // unreachable!()
|
543 |
fn recent_records(&mut self, limit: NonZeroUsize) -> Result<Vec<(SystemTime, T)>> {
|
453 |
// FIXME: Replace with an integration test
|
454 |
#[allow(clippy::panic_in_result_fn)] // just a test
|
455 |
pub(crate) fn smoke_test(&mut self) -> Result<()> {
|
921 |
#[allow(clippy::panic_in_result_fn)]
|
922 |
#[cfg(test)]
|
87 |
// create and set rights for the MailDir & [new,cur,tmp] folder if they don't exists.
|
88 |
#[allow(clippy::unreachable, clippy::panic_in_result_fn)] // false positive
|
89 |
#[tracing::instrument(name = "create-maildir", fields(folder = ?path.display()))]
|
30 |
clippy::multiple_inherent_impl,
|
31 |
clippy::panic_in_result_fn,
|
32 |
clippy::panic,
|
111 |
clippy::missing_panics_doc, // TODO: add panic docs
|
112 |
clippy::panic_in_result_fn,
|
113 |
clippy::shadow_same, // Not too much bad
|
32 |
// This is a test module, right?
|
33 |
#![allow(clippy::panic_in_result_fn)]
|
34 |
#![allow(clippy::unwrap_used)]
|
42 |
// ...except for these ones.
|
43 |
#![allow(clippy::panic_in_result_fn)]
|
44 |
#![allow(clippy::print_stdout)]
|
201 |
#![allow(clippy::panic)]
|
202 |
#![allow(clippy::panic_in_result_fn)]
|
203 |
#![allow(clippy::use_debug)]
|
248 |
#![allow(clippy::default_numeric_fallback)]
|
249 |
#![allow(clippy::panic_in_result_fn)]
|
27 |
// This is a test suite, right?
|
28 |
#![allow(clippy::panic_in_result_fn)]
|
29 |
#![allow(clippy::print_stdout)]
|
22 |
clippy::as_conversions, // Should be removed asap?
|
23 |
clippy::panic_in_result_fn, // Should be removed asap
|
24 |
clippy::cast_possible_wrap, // Should be considered but not removed.
|
8 |
clippy::shadow_reuse,
|
9 |
clippy::panic_in_result_fn,
|
10 |
clippy::integer_division,
|
66 |
clippy::panic, // allow debug_assert, panic in production code
|
67 |
clippy::panic_in_result_fn,
|
68 |
clippy::missing_errors_doc, // TODO: add error docs
|
71 |
clippy::missing_panics_doc, // TODO: add panic docs
|
72 |
clippy::panic_in_result_fn,
|
73 |
clippy::print_stdout,
|
66 |
clippy::panic, // allow debug_assert, panic in production code
|
67 |
clippy::panic_in_result_fn,
|
68 |
clippy::missing_errors_doc, // TODO: add error docs
|
71 |
clippy::missing_panics_doc, // TODO: add panic docs
|
72 |
clippy::panic_in_result_fn,
|
73 |
clippy::print_stdout,
|
55 |
clippy::todo,
|
56 |
clippy::panic_in_result_fn,
|
57 |
clippy::panic,
|
50 |
clippy::todo,
|
51 |
clippy::panic_in_result_fn,
|
52 |
clippy::panic,
|
52 |
clippy::todo,
|
53 |
clippy::panic_in_result_fn,
|
54 |
clippy::panic,
|
50 |
clippy::todo,
|
51 |
clippy::panic_in_result_fn,
|
52 |
clippy::panic,
|
52 |
clippy::todo,
|
53 |
clippy::panic_in_result_fn,
|
54 |
clippy::panic,
|
6 |
clippy::implicit_return,
|
7 |
clippy::panic_in_result_fn,
|
8 |
clippy::expect_used,
|
3 |
#![allow(clippy::unnecessary_wraps, clippy::panic_in_result_fn)]
|
28 |
#![allow(clippy::panic_in_result_fn)]
|
27 |
#![allow(clippy::panic_in_result_fn)]
|
42 |
clippy::missing_panics_doc, // TODO: add panic docs
|
43 |
clippy::panic_in_result_fn,
|
44 |
clippy::print_stdout,
|
40 |
clippy::missing_panics_doc, // TODO: add panic docs
|
41 |
clippy::panic_in_result_fn,
|
42 |
clippy::integer_arithmetic, // TODO
|
100 |
fn test_self_replacer() -> Result<()> {
|
101 |
#![allow(clippy::panic_in_result_fn)]
|
102 |
use proc_macro2::TokenStream;
|