127 |
#[cfg(feature = "std")]
|
128 |
#[allow(clippy::fallible_impl_from)]
|
129 |
impl From<Error> for io::Error {
|
38 |
#[allow(clippy::fallible_impl_from)] // better to panic here if `Success` is used instead of in all use cases
|
39 |
impl From<ErrorCode> for Error {
|
685 |
#[allow(clippy::fallible_impl_from)]
|
686 |
impl TryFrom<Numeric> for f64 {
|
697 |
#[allow(clippy::fallible_impl_from)]
|
698 |
impl TryFrom<Numeric> for u64 {
|
709 |
#[allow(clippy::fallible_impl_from)]
|
710 |
impl TryFrom<Numeric> for i64 {
|
243 |
impl From<Script> for AddressPayload {
|
244 |
#[allow(clippy::fallible_impl_from)]
|
245 |
fn from(lock: Script) -> AddressPayload {
|
1111 |
#[allow(clippy::fallible_impl_from)] // caused by `debug_assert!`
|
1112 |
#[cfg(feature = "std")]
|
83 |
#[allow(clippy::fallible_impl_from)]
|
84 |
impl<'a> From<&'a AttrType> for DamlType<'a> {
|
274 |
/// `my_numeric: impl Into<DamlNumeric10>` rather than `TryInto` which has the nice property of avoiding fallible cases.
|
275 |
#[allow(clippy::fallible_impl_from)]
|
276 |
impl<T: Nat> From<f64> for DamlFixedNumeric<T> {
|
20 |
#[allow(clippy::fallible_impl_from)]
|
21 |
impl<T> From<T> for ErrorPanicker
|
20 |
#[allow(clippy::fallible_impl_from)]
|
21 |
impl<T> From<T> for ErrorPanicker
|
116 |
#[allow(clippy::fallible_impl_from)]
|
117 |
impl From<Cmd> for cm::MetadataCommand {
|
129 |
// infallible, in fact.
|
130 |
#[allow(clippy::fallible_impl_from)]
|
131 |
impl From<&super::mutable::Storage> for Storage {
|
719 |
#[allow(clippy::fallible_impl_from)]
|
720 |
impl From<&Path> for Matcher {
|
48 |
#[allow(clippy::fallible_impl_from)]
|
49 |
impl From<TurtleError> for ParseError {
|
63 |
#[allow(clippy::fallible_impl_from)]
|
64 |
impl From<RdfXmlError> for ParseError {
|
107 |
#[allow(clippy::unwrap_used)]
|
108 |
#[allow(clippy::fallible_impl_from)]
|
109 |
impl From<&FieldsDirectory> for Workspace {
|
321 |
#[allow(clippy::fallible_impl_from)]
|
322 |
impl From<Protection> for &'static [MapOption] {
|
102 |
#[allow(clippy::fallible_impl_from)]
|
103 |
impl From<&web_sys::HtmlFormElement> for FormData {
|
55 |
#[allow(clippy::fallible_impl_from)]
|
56 |
impl<'a, FT: AsRef<web_sys::Headers>> From<FT> for Headers<'a> {
|
746 |
#[allow(clippy::fallible_impl_from)]
|
747 |
impl From<String> for Value {
|
132 |
#[cfg(feature = "std")]
|
133 |
#[allow(clippy::fallible_impl_from)]
|
134 |
impl From<Error> for io::Error {
|
140 |
#[cfg_attr(feature = "cargo-clippy", allow(fallible_impl_from))]
|
141 |
impl From<Error> for io::Error {
|
129 |
#[cfg(feature = "std")]
|
130 |
#[allow(clippy::fallible_impl_from)]
|
131 |
impl From<Error> for io::Error {
|
135 |
#[cfg_attr(feature = "cargo-clippy", allow(fallible_impl_from))]
|
136 |
impl From<Error> for io::Error {
|
127 |
#[cfg(feature = "std")]
|
128 |
#[allow(clippy::fallible_impl_from)]
|
129 |
impl From<Error> for io::Error {
|
169 |
#[allow(clippy::fallible_impl_from)]
|
170 |
impl<T> From<Box<[T]>> for Arc<[T]> {
|
203 |
#[allow(clippy::fallible_impl_from)]
|
204 |
impl From<&str> for DbType {
|
455 |
#[allow(clippy::fallible_impl_from)]
|
456 |
impl From<Box<Str32>> for String32 {
|
485 |
#[allow(clippy::fallible_impl_from)]
|
486 |
impl From<String32> for String {
|
1353 |
#[allow(clippy::fallible_impl_from)] // caused by `debug_assert!`
|
1354 |
#[cfg(feature = "std")]
|
1370 |
#[allow(clippy::fallible_impl_from)]
|
1371 |
#[cfg(all(
|
691 |
// types.
|
692 |
#[allow(clippy::fallible_impl_from)]
|
693 |
impl From<&tor_netdir::params::NetParameters> for UnusedTimings {
|
308 |
// The unwrap is just there because we can't pattern-match on a Vec
|
309 |
#[allow(clippy::fallible_impl_from)]
|
310 |
impl From<Listen> for ListenSerde {
|
169 |
#[allow(clippy::fallible_impl_from)]
|
170 |
impl<T> From<Box<[T]>> for Arc<[T]> {
|
4 |
#![deny(clippy::nursery)]
|
5 |
#![allow(clippy::fallible_impl_from)]
|
6 |
#![allow(clippy::module_name_repetitions)]
|
31 |
clippy::copy_iterator,
|
32 |
clippy::fallible_impl_from,
|
33 |
clippy::module_name_repetitions,
|
217 |
#![allow(clippy::type_complexity)]
|
218 |
#![allow(clippy::fallible_impl_from)]
|
219 |
#![cfg_attr(all(not(test), not(feature = "std")), no_std)]
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::fallible_impl_from
|
41 |
)]
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
38 |
)]
|
35 |
#![allow(
|
36 |
clippy::fallible_impl_from, // Not always valid; issues should be detected by tests or other lints.
|
37 |
clippy::implicit_return, // Goes against rust convention and requires return calls in places it is not helpful (e.g. closures).
|
53 |
#![allow(
|
54 |
clippy::fallible_impl_from,
|
55 |
clippy::needless_doctest_main,
|
62 |
clippy::redundant_pub_crate,
|
63 |
clippy::fallible_impl_from
|
64 |
)]
|
192 |
clippy::redundant_pub_crate,
|
193 |
clippy::fallible_impl_from
|
194 |
)]
|
53 |
clippy::redundant_pub_crate,
|
54 |
clippy::fallible_impl_from
|
55 |
)]
|
13 |
#![allow(
|
14 |
clippy::fallible_impl_from,
|
15 |
clippy::needless_doctest_main,
|
91 |
#![allow(
|
92 |
clippy::fallible_impl_from,
|
93 |
clippy::needless_doctest_main,
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
38 |
)]
|
88 |
clippy::redundant_pub_crate,
|
89 |
clippy::fallible_impl_from
|
90 |
)]
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::fallible_impl_from
|
41 |
)]
|
178 |
clippy::semicolon_if_nothing_returned, // Too many of these
|
179 |
clippy::fallible_impl_from, // A few of these, but lazy
|
180 |
)]
|
93 |
clippy::suspicious_arithmetic_impl,
|
94 |
clippy::fallible_impl_from, // Above lints assume a given use; issues should be detected by tests or other lints.
|
95 |
clippy::implicit_return, // Omitting the return keyword is idiomatic Rust code.
|
45 |
clippy::suspicious_arithmetic_impl,
|
46 |
clippy::fallible_impl_from, // Above lints are not always correct; issues should be detected by tests or other lints.
|
47 |
clippy::implicit_return, // Omitting the return keyword is idiomatic Rust code.
|
123 |
clippy::redundant_pub_crate,
|
124 |
clippy::fallible_impl_from
|
125 |
)]
|
6 |
clippy::missing_docs_in_private_items,
|
7 |
clippy::fallible_impl_from,
|
8 |
clippy::struct_excessive_bools
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
38 |
)]
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
38 |
)]
|
70 |
clippy::redundant_pub_crate,
|
71 |
clippy::fallible_impl_from,
|
72 |
clippy::float_cmp
|
73 |
clippy::redundant_pub_crate,
|
74 |
clippy::fallible_impl_from
|
75 |
)]
|
33 |
#![allow(
|
34 |
clippy::fallible_impl_from,
|
35 |
clippy::needless_doctest_main,
|
46 |
clippy::redundant_pub_crate,
|
47 |
clippy::fallible_impl_from
|
48 |
)]
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
38 |
)]
|
38 |
#![allow(
|
39 |
clippy::fallible_impl_from,
|
40 |
clippy::needless_doctest_main,
|
71 |
clippy::multiple_crate_versions,
|
72 |
clippy::fallible_impl_from
|
73 |
)]
|