36 |
}
|
37 |
#[allow(clippy::map_err_ignore)]
|
38 |
input.parse::<u64>().map_err(|_| error)
|
148 |
#[inline]
|
149 |
#[allow(clippy::map_err_ignore)]
|
150 |
fn pow(&self, x: T, y: T) -> Result<T, ArithmeticError> {
|
276 |
#[inline]
|
277 |
#[allow(clippy::map_err_ignore)]
|
278 |
fn pow(&self, x: T, y: T) -> Result<T, ArithmeticError> {
|
173 |
#[inline]
|
174 |
#[allow(clippy::map_err_ignore)]
|
175 |
fn pow(&self, x: T, y: T) -> Result<T, ArithmeticError> {
|
31 |
// intentionally map the Err to our own type
|
32 |
#[allow(clippy::map_err_ignore)]
|
33 |
let mut p = home::rustup_home().map_err(|_| library::Error::NoRustupHome)?;
|
34 |
) -> Result<Engine> {
|
35 |
#[allow(clippy::map_err_ignore)]
|
36 |
let path = get_container_engine()
|
363 |
// Get the total space used by Docker images.
|
364 |
#[allow(clippy::map_err_ignore)]
|
365 |
fn space_usage() -> io::Result<Byte> {
|
61 |
/// failure to convert the already-validated characters to a number.
|
62 |
#[allow(clippy::map_err_ignore)]
|
63 |
#[inline]
|
196 |
/// failure to convert the already-validated characters to a [`BoolOpKind`] value.
|
197 |
#[allow(clippy::map_err_ignore)]
|
198 |
#[inline]
|
215 |
/// failure to convert the already-validated characters to a [`BoolOpKind`] value.
|
216 |
#[allow(clippy::map_err_ignore)]
|
217 |
#[inline]
|
300 |
/// failure to convert a "1.0" string to a [`Version`] struct.
|
301 |
#[allow(clippy::map_err_ignore)]
|
302 |
#[inline]
|
96 |
#[allow(clippy::map_err_ignore)]
|
97 |
pub(super) fn get_unsigned_integer(config: Option<&Config>, name: &str, default: u32) -> Result<u32> {
|
9 |
#[allow(clippy::map_err_ignore)]
|
10 |
pub fn do_alloc<A: Allocator>(alloc: &A, layout: Layout) -> Result<NonNull<u8>, ()> {
|
66 |
unsafe impl Allocator for crate::BumpWrapper<'_> {
|
67 |
#[allow(clippy::map_err_ignore)]
|
68 |
fn allocate(&self, layout: Layout) -> Result<NonNull<u8>, ()> {
|
256 |
std::fs::File::open(trust_anchor_file)?.read_to_end(&mut buf)?;
|
257 |
#[allow(clippy::map_err_ignore)]
|
258 |
let (n_ok, n_err) = root_store.add_parsable_certificates(&[buf]);
|
16 |
let string = string.borrow();
|
17 |
#[allow(clippy::map_err_ignore)]
|
18 |
CString::new(string).map_err(|_| format!("null byte in string: {:?}", string).into())
|
334 |
) -> Result<Option<Duration>, TryFromProtobufError> {
|
335 |
#[allow(clippy::map_err_ignore)]
|
336 |
duration.map(TryInto::try_into).transpose().map_err(|_| {
|
189 |
) -> Result<Member, RoomError> {
|
190 |
#[allow(clippy::map_err_ignore)]
|
191 |
let member = self
|
133 |
/// Helper for `read_value_header()`.
|
134 |
#[allow(clippy::cast_possible_wrap, clippy::map_err_ignore)]
|
135 |
fn read_big_value_header(tag: u8, buf: &[u8]) -> Result<ValueHeader, Error> {
|
32 |
#[allow(clippy::map_err_ignore)] // Url::from_directory_path() returns Result<_, Err(())>.
|
33 |
Url::from_directory_path(&dir)
|
61 |
fn consume(&self) -> Self::Good {
|
62 |
#[allow(clippy::map_err_ignore)]
|
63 |
// Currently unable to implement ConsumeFailure<T>: From<InsufficientStockFailure>.
|
145 |
trace!("read {}", url.path());
|
146 |
#[allow(clippy::map_err_ignore)]
|
147 |
// Url::to_file_path() returns () as Err type so the error has no helpful information.
|
50 |
#[allow(clippy::map_err_ignore)]
|
51 |
// ^-- The error returned by `ChaCha20Poly1305` is opaque, so ignoring it doesn't lose info.
|
1230 |
#[allow(clippy::map_err_ignore)]
|
1231 |
thread::spawn(move || -> Result<Shutdown> {
|
69 |
#[allow(clippy::map_err_ignore)]
|
70 |
fn allocate_slice(allocator: &A, len: usize, init: Init) -> Result<Self, AllocError> {
|
84 |
fn visit_str<E: DeError>(self, v: &str) -> Result<Self::Value, E> {
|
85 |
#[allow(clippy::map_err_ignore)]
|
86 |
let num = v
|
95 |
'#' => {
|
96 |
#[allow(clippy::map_err_ignore)]
|
97 |
match input.parse().map_err(|_| {
|
122 |
enum_glob_use,
|
123 |
map_err_ignore,
|
124 |
result_unit_err,
|
40 |
clippy::items_after_statements,
|
41 |
clippy::map_err_ignore,
|
42 |
clippy::match_same_arms,
|
333 |
clippy::integer_division,
|
334 |
clippy::map_err_ignore,
|
335 |
clippy::match_same_arms,
|
174 |
#![allow(
|
175 |
clippy::map_err_ignore,
|
176 |
clippy::missing_errors_doc,
|
25 |
clippy::default_numeric_fallback,
|
26 |
clippy::map_err_ignore,
|
41 |
clippy::inline_always,
|
42 |
clippy::map_err_ignore,
|
43 |
clippy::missing_const_for_fn,
|
41 |
clippy::manual_filter_map,
|
42 |
clippy::map_err_ignore,
|
43 |
clippy::missing_const_for_fn,
|
51 |
#![deny(clippy::all, clippy::pedantic)]
|
52 |
#![allow(clippy::missing_errors_doc, clippy::map_err_ignore )]
|
23 |
clippy::default_numeric_fallback,
|
24 |
clippy::map_err_ignore,
|
25 |
clippy::non_ascii_literal,
|
23 |
clippy::default_numeric_fallback,
|
24 |
clippy::map_err_ignore,
|
23 |
clippy::default_numeric_fallback,
|
24 |
clippy::map_err_ignore,
|
25 |
clippy::pub_use,
|
23 |
clippy::default_numeric_fallback,
|
24 |
clippy::map_err_ignore,
|
23 |
clippy::default_numeric_fallback,
|
24 |
clippy::map_err_ignore,
|
25 |
clippy::pub_use,
|
129 |
explicit_auto_deref,
|
130 |
map_err_ignore,
|
131 |
new_without_default,
|
46 |
clippy::manual_assert,
|
47 |
clippy::map_err_ignore,
|
48 |
clippy::match_same_arms,
|
40 |
clippy::items_after_statements,
|
41 |
clippy::map_err_ignore,
|
42 |
clippy::match_same_arms,
|
340 |
clippy::integer_division,
|
341 |
clippy::map_err_ignore,
|
342 |
clippy::match_same_arms,
|
341 |
clippy::integer_division,
|
342 |
clippy::map_err_ignore,
|
343 |
clippy::match_same_arms,
|
333 |
clippy::integer_division,
|
334 |
clippy::map_err_ignore,
|
335 |
clippy::match_same_arms,
|