• abi_stable 0.11.1/src/abi_stability/abi_checking.rs
    87
    #[allow(clippy::missing_const_for_fn)]
    88
    impl<T> ExpectedFound<T> {
  • abi_stable 0.11.1/src/erased_types/dyn_trait.rs
    2195
    #[allow(clippy::missing_const_for_fn)]
    2196
    impl<T> UneraseError<T> {
  • abi_stable 0.11.1/src/external_types/parking_lot/once.rs
    88
    #[allow(clippy::missing_const_for_fn)]
    89
    impl ROnce {
    275
    #[allow(clippy::missing_const_for_fn)]
    276
    impl ROnceState {
  • abi_stable 0.11.1/src/external_types/parking_lot/rw_lock.rs
    124
    #[allow(clippy::missing_const_for_fn)]
    125
    impl<T> RRwLock<T> {
  • abi_stable 0.11.1/src/nonexhaustive_enum/nonexhaustive.rs
    798
    #[allow(clippy::missing_const_for_fn)]
    799
    impl<N> UnwrapEnumError<N> {
  • actix-csrf 0.7.0/src/extractor.rs
    228
        #[must_use]
    229
        #[allow(clippy::missing_const_for_fn)] // false positive
    230
        pub fn into_inner(self) -> String {
  • actors-rs 0.1.4/src/actor/actor_cell.rs
    718
    impl Children {
    719
        #[allow(clippy::missing_const_for_fn)]
    720
        pub fn new() -> Self {
  • adbyss_psl 0.7.18/src/lib.rs
    475
    impl Domain {
    476
    	#[allow(clippy::missing_const_for_fn)] // Doesn't work.
    477
    	#[must_use]
  • advent-of-code 2022.0.46/src/input.rs
    29
            // See https://github.com/rust-lang/rust/issues/66753 for missing_const_for_fn.
    30
            #![allow(clippy::missing_const_for_fn)]
    31
            match self.part {
    37
        #[cfg(test)]
    38
        #[allow(clippy::missing_const_for_fn)]
    39
        pub fn part_one(text: &'a str) -> Self {
    48
        #[cfg(test)]
    49
        #[allow(clippy::missing_const_for_fn)]
    50
        pub fn part_two(text: &'a str) -> Self {
  • alloc-wg 0.9.0/src/boxed.rs
    1173
            #[inline]
    1174
            #[allow(clippy::missing_const_for_fn)]
    1175
            fn some<T>(_: Option<T>, x: T) -> Option<T> {
  • ambient-authority 0.0.1/src/lib.rs
    43
    #[must_use]
    44
    #[allow(clippy::missing_const_for_fn)]
    45
    pub fn ambient_authority() -> AmbientAuthority {
  • aragog 0.17.0/src/db/database_record.rs
    957
        #[inline]
    958
        #[allow(clippy::missing_const_for_fn)] // Can't be const in 1.56
    959
        pub fn id(&self) -> &String {
    964
        #[inline]
    965
        #[allow(clippy::missing_const_for_fn)] // Can't be const in 1.56
    966
        pub fn key(&self) -> &String {
    971
        #[inline]
    972
        #[allow(clippy::missing_const_for_fn)] // Can't be const in 1.56
    973
        pub fn rev(&self) -> &String {
  • aragog 0.17.0/src/db/database_record_dto.rs
    18
        #[must_use]
    19
        #[allow(clippy::missing_const_for_fn)] // Can't be const in 1.56
    20
        pub fn new(record: T, key: Option<String>) -> Self {
  • aragog 0.17.0/src/edge_record.rs
    73
        /// Retrieves the document `_from` field, storing the target documents `id`.
    74
        #[allow(clippy::missing_const_for_fn)] // Can't be const in 1.56
    75
        #[must_use]
    81
        /// Retrieves the document `_to` field, storing the target documents `id`.
    82
        #[allow(clippy::missing_const_for_fn)] // Can't be const in 1.56
    83
        #[must_use]
  • aragog 0.17.0/src/query/query_cursor.rs
    61
        #[inline]
    62
        #[allow(clippy::missing_const_for_fn)]
    63
        pub(crate) fn new(cursor: Cursor<DatabaseRecord<T>>, database: Database) -> Self {
    81
        #[inline]
    82
        #[allow(clippy::missing_const_for_fn)]
    83
        pub fn has_more(&self) -> bool {
  • arc-bytes 0.3.5/src/serde.rs
    62
        /// Returns the underlying Vec.
    63
        #[allow(clippy::missing_const_for_fn)] // false positive
    64
        #[must_use]
    155
        /// Returns the underlying Cow.
    156
        #[allow(clippy::missing_const_for_fn)] // false positive
    157
        #[must_use]
    162
        /// Returns the underlying Vec inside of the Cow, or clones the borrowed bytes into a new Vec..
    163
        #[allow(clippy::missing_const_for_fn)] // false positive
    164
        #[must_use]
  • arctk 2.0.7/src/dom/tree.rs
    179
        /// Reference the cell's boundary.
    180
        #[allow(clippy::missing_const_for_fn)]
    181
        #[inline]
  • argyle 0.6.5/src/argue.rs
    443
    impl Argue {
    444
    	#[allow(clippy::missing_const_for_fn)] // Doesn't work!
    445
    	#[must_use]
  • asc 0.1.1/src/lib.rs
    96
        #[must_use]
    97
        #[allow(clippy::missing_const_for_fn, clippy::as_conversions)]
    98
        pub unsafe fn from_raw(ptr: *const T) -> Self {
  • async-io-bridge 0.1.0/src/utils.rs
    21
        }
    22
        #[allow(clippy::missing_const_for_fn)]
    23
        pub unsafe fn as_ref<'a>(self) -> &'a T {
  • asyncgit 0.22.1/src/sync/commit_details.rs
    84
    	///
    85
    	#[allow(clippy::missing_const_for_fn)]
    86
    	// clippy doesn't realise indexing a String is not const
  • asyncgit 0.22.1/src/sync/tags.rs
    22
    	///
    23
    	#[allow(clippy::missing_const_for_fn)]
    24
    	// clippy doesn't realise allocating a String is not const
  • axum-server-dual-protocol 0.3.0/src/dual_protocol.rs
    320
    // `axum`. See <https://github.com/rust-lang/rust/issues/93706>.
    321
    #[allow(clippy::missing_const_for_fn)]
    322
    impl<Service, RequestBody, ResponseBody>
  • axum-server-dual-protocol 0.3.0/src/upgrade_http.rs
    55
    	/// [`Service`](HyperService).
    56
    	#[allow(clippy::missing_const_for_fn)]
    57
    	pub fn into_inner(self) -> Service {
    156
    // `axum`. See <https://github.com/rust-lang/rust/issues/93706>.
    157
    #[allow(clippy::missing_const_for_fn)]
    158
    impl<Service, Request> UpgradeHttpFuture<Service, Request>
  • bevy_silk 0.4.0/src/components/cloth_builder.rs
    28
    #[allow(clippy::missing_const_for_fn)]
    29
    impl ClothBuilder {
  • bililive-core 0.1.0-beta.4/src/builder/mod.rs
    101
    impl<H, R, U, T, S> ConfigBuilder<H, R, U, T, S> {
    102
        #[allow(clippy::missing_const_for_fn)] // misreport
    103
        fn cast<R2, U2, T2, S2>(self) -> ConfigBuilder<H, R2, U2, T2, S2> {
  • bonsaidb-client 0.4.1/src/builder.rs
    44
        #[cfg(not(target_arch = "wasm32"))]
    45
        #[allow(clippy::missing_const_for_fn)]
    46
        pub fn with_runtime(mut self, handle: Handle) -> Self {
    68
        #[cfg(not(target_arch = "wasm32"))]
    69
        #[allow(clippy::missing_const_for_fn)]
    70
        pub fn with_certificate(mut self, certificate: Certificate) -> Self {
    76
        #[cfg(feature = "test-util")]
    77
        #[allow(clippy::missing_const_for_fn)]
    78
        pub fn with_protocol_version(mut self, version: &'static str) -> Self {
  • bonsaidb-core 0.4.1/src/connection.rs
    2192
        /// including, `excluded_start`.
    2193
        #[allow(clippy::missing_const_for_fn)]
    2194
        pub fn after(mut self, excluded_start: T) -> Self {
    2202
        /// [`Ordering::Equal`](std::cmp::Ordering::Equal) to `included_start`.
    2203
        #[allow(clippy::missing_const_for_fn)]
    2204
        pub fn start_at(mut self, included_start: T) -> Self {
    2212
        /// `excluded_end`.
    2213
        #[allow(clippy::missing_const_for_fn)]
    2214
        pub fn before(mut self, excluded_end: T) -> Self {
    2222
        /// [`Ordering::Equal`](std::cmp::Ordering::Equal) to `included_end`.
    2223
        #[allow(clippy::missing_const_for_fn)]
    2224
        pub fn end_at(mut self, included_end: T) -> Self {
  • bonsaidb-keystorage-s3 0.4.1/src/lib.rs
    136
        /// Sets the endpoint to use. See [`Self::endpoint`] for more information.
    137
        #[allow(clippy::missing_const_for_fn)] // destructors
    138
        pub fn endpoint(mut self, endpoint: Endpoint) -> Self {
  • brainfuck-exe 0.1.7/src/lib.rs
    318
        #[must_use]
    319
        #[allow(clippy::missing_const_for_fn)]
    320
        pub fn into_input(self) -> Option<Reader<'a>> {
    325
        #[must_use]
    326
        #[allow(clippy::missing_const_for_fn)]
    327
        pub fn into_output(self) -> Option<Writer<'a>> {
  • burntnail-utils 0.7.1/src/either.rs
    52
        ///Non-const due to [E0493](https://doc.rust-lang.org/error-index.html#E0493)
    53
        #[allow(clippy::missing_const_for_fn)]
    54
        pub fn to_left(self) -> Option<L> {
    86
        ///Non-const due to [E0493](https://doc.rust-lang.org/error-index.html#E0493)
    87
        #[allow(clippy::missing_const_for_fn)]
    88
        pub fn to_right(self) -> Option<R> {
    116
        ///Converts Either<L, R> to Result<L, R>
    117
        #[allow(clippy::missing_errors_doc, clippy::missing_const_for_fn)] //no need, issue with destructors
    118
        pub fn to_result(self) -> Result<L, R> {
    150
        ///If `L` == `R` then this function will return an `L` - useful for when the [`Either`] side signifies something, but always returns the same type.
    151
        #[allow(clippy::missing_const_for_fn)] //Cannot be const as destructors cannot be const - Github error 8874
    152
        pub fn one_type(self) -> T {
  • burntnail-utils 0.7.1/src/memcache.rs
    101
        #[must_use]
    102
        #[allow(clippy::missing_const_for_fn)] //destructor issues
    103
        pub fn get_all(self) -> Vec<T> {
  • bve 0.0.1/src/log/subscriber.rs
    202
        #[allow(clippy::missing_const_for_fn)] // flat out wrong
    203
        fn into_data(self) -> HashMap<String, Data> {
  • cachedhash 0.1.2/src/cachedhash.rs
    117
        #[must_use]
    118
        #[allow(clippy::missing_const_for_fn)] // false positive, `this` might get dropped
    119
        pub fn take_value(this: Self) -> T {
  • cdx 0.1.21/src/column.rs
    1160
        /// steal owned columns by value
    1161
        #[allow(clippy::missing_const_for_fn)] // clippy bug
    1162
        pub fn get_cols_full(self) -> Vec<OutCol> {
  • cellular-automaton 0.1.10/crate/life_like/mod.rs
    75
        /// ```
    76
        #[allow(clippy::missing_const_for_fn)] // can only wasm_bindgen non-const fn
    77
        #[wasm_bindgen(getter)]
    120
        /// ```
    121
        #[allow(clippy::missing_const_for_fn)] // can only wasm_bindgen non-const fn
    122
        #[wasm_bindgen(getter)]
  • charcoal 1.1.0/src/binary_tree/base.rs
    90
        /// ```
    91
        #[allow(clippy::missing_const_for_fn)] // there cannot be constant trees just yet
    92
        pub fn root(&self) -> NodeRef<'_, B, L, K, S> {
  • charcoal 1.1.0/src/binary_tree/mod.rs
    72
        /// Extracts the provided right child to add, which was deemed useless when the operation failed.
    73
        #[allow(clippy::missing_const_for_fn)] // Clippy has no idea what a destructor is
    74
        pub fn right_child(self) -> L {
  • charcoal 1.1.0/src/binary_tree/node.rs
    198
        }
    199
        #[allow(clippy::missing_const_for_fn)] // const fn cannot evaluate drop
    200
        pub(super) fn into_value(self) -> NodeValue<B, L> {
  • charcoal 1.1.0/src/binary_tree/node_ref.rs
    60
        // const_option is not stable, and so are trait bounds on const fn parameters other than Sized
    61
        #[allow(clippy::missing_const_for_fn)]
    62
        pub fn is_root(&self) -> bool {
  • charcoal 1.1.0/src/binary_tree/node_ref_mut.rs
    79
        /// Returns `true` if the node is the root node, `false` otherwise.
    80
        #[allow(clippy::missing_const_for_fn)] // const_option is not stable
    81
        pub fn is_root(&self) -> bool {
  • charcoal 1.1.0/src/freeform_tree/base.rs
    94
        /// ```
    95
        #[allow(clippy::missing_const_for_fn)] // there cannot be constant trees just yet
    96
        pub fn root(&self) -> NodeRef<'_, B, L, K, S> {
  • charcoal 1.1.0/src/freeform_tree/node.rs
    213
        }
    214
        #[allow(clippy::missing_const_for_fn)] // const fn cannot evaluate drop
    215
        pub(super) fn into_value(self) -> NodeValue<B, L> {
  • charcoal 1.1.0/src/freeform_tree/node_ref.rs
    95
        // const_option is not stable, and so are trait bounds on const fn parameters other than Sized
    96
        #[allow(clippy::missing_const_for_fn)]
    97
        pub fn is_root(&self) -> bool {
  • charcoal 1.1.0/src/freeform_tree/node_ref_mut.rs
    168
        /// Returns `true` if the node is the root node, `false` otherwise.
    169
        #[allow(clippy::missing_const_for_fn)] // const_option is not stable
    170
        pub fn is_root(&self) -> bool {
  • charcoal 1.1.0/src/lib.rs
    161
        /// Extracts the value, discarding information about whether the node was a leaf or branch. *Available only if the leaf and branch payloads are the same type.*
    162
        #[allow(clippy::missing_const_for_fn)]
    163
        pub fn into_inner(self) -> T {
  • cleaner 0.9.1/src/commands/supported.rs
    408
    // constant functions cannot evaluate destructors
    409
    #[allow(clippy::missing_const_for_fn)]
    410
    fn no_check<F>(_: F) -> &'static str { "" }
  • clia-time 0.3.10/src/duration.rs
    188
        /// actually require the standard library, but is currently only used when it's enabled.
    189
        #[allow(clippy::missing_const_for_fn)] // false positive
    190
        #[cfg(feature = "std")]
  • clia-time 0.3.10/src/sys/local_offset_at/unix.rs
    66
    ))]
    67
    #[allow(unused_variables, clippy::missing_const_for_fn)]
    68
    fn tm_to_offset(tm: libc::tm) -> Option<UtcOffset> {
  • coqui-stt 1.0.2/src/metadata.rs
    42
        #[must_use]
    43
        #[allow(clippy::missing_const_for_fn)]
    44
        pub fn num_transcripts(&self) -> u32 {
    87
        #[must_use]
    88
        #[allow(clippy::missing_const_for_fn)]
    89
        pub fn into_inner(self) -> Vec<OwnedCandidateTranscript> {
  • crawdad 0.4.0/src/builder.rs
    56
        #[allow(clippy::missing_const_for_fn)]
    57
        pub fn minimal_prefix(mut self) -> Self {
    108
        #[allow(clippy::missing_const_for_fn)]
    109
        pub fn release_trie(self) -> Result<Trie> {
  • cucumber 0.19.1/src/cli.rs
    285
        /// Unpacks this [`Compose`] into the underlying CLIs.
    286
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    287
        #[must_use]
  • cucumber 0.19.1/src/cucumber.rs
    109
        /// Replaces [`Parser`].
    110
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    111
        #[must_use]
    130
        /// Replaces [`Runner`].
    131
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    132
        #[must_use]
    151
        /// Replaces [`Writer`].
    152
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    153
        #[must_use]
    632
        /// [`Feature`]: gherkin::Feature
    633
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    634
        #[must_use]
    976
        /// [`Scenario`]: gherkin::Scenario
    977
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    978
        #[must_use]
  • cucumber 0.19.1/src/event.rs
    65
        /// Unwraps the inner [`Event::value`] loosing all the attached metadata.
    66
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    67
        #[must_use]
    94
        /// old one along.
    95
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    96
        #[must_use]
  • cucumber 0.19.1/src/runner/basic.rs
    511
        /// [`Scenario`]: gherkin::Scenario
    512
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    513
        #[must_use]
    551
        /// [`Scenario`]: gherkin::Scenario
    552
        #[allow(clippy::missing_const_for_fn)] // false positive: drop in const
    553
        #[must_use]
  • daachorse 1.0.0/src/bytewise/iter.rs
    22
    {
    23
        #[allow(clippy::missing_const_for_fn)]
    24
        pub(crate) fn new(inner: P) -> Self {
  • daachorse 1.0.0/src/charwise/iter.rs
    22
    {
    23
        #[allow(clippy::missing_const_for_fn)]
    24
        pub(crate) fn new(inner: P) -> Self {
  • daachorse 1.0.0/src/lib.rs
    215
    {
    216
        #[allow(clippy::missing_const_for_fn)]
    217
        #[inline(always)]
    226
        #[allow(clippy::missing_const_for_fn)]
    227
        #[inline(always)]
    232
        #[allow(clippy::missing_const_for_fn)]
    233
        #[inline(always)]
    238
        #[allow(clippy::missing_const_for_fn)]
    239
        #[inline(always)]
    289
        /// Starting position of the match.
    290
        #[allow(clippy::missing_const_for_fn)]
    291
        #[inline(always)]
  • dart-bindgen 0.1.9-deprecated/src/lib.rs
    452
        /// known platforms.
    453
        #[allow(clippy::missing_const_for_fn)]
    454
        pub fn with_config(mut self, config: DynamicLibraryConfig) -> Self {
  • datom 0.1.1-pre4/src/types/attribute_schema.rs
    78
        /// Set the attribute's ident
    79
        #[allow(clippy::missing_const_for_fn)]
    80
        pub fn ident(mut self, ident: String) -> Self {
    97
        /// Set the attribute's docstring
    98
        #[allow(clippy::missing_const_for_fn)]
    99
        pub fn doc(mut self, doc: String) -> Self {
  • deranged 0.3.0/src/lib.rs
    73
        // This function is not const because the counterpart of stdlib isn't
    74
        #[allow(clippy::missing_const_for_fn)]
    75
        #[inline(always)]
  • diskit 0.1.1/src/dir_entry.rs
    55
        // well known.
    56
        #[allow(clippy::missing_const_for_fn)]
    57
        #[must_use]
    170
        // types have (non-costs) destructors.
    171
        #[allow(clippy::missing_const_for_fn)]
    172
        pub fn deworkaround(self) -> Result<T, E>
  • docsearch 0.3.2/src/simple_path.rs
    22
        /// Get back the original string.
    23
        #[allow(clippy::missing_const_for_fn)]
    24
        #[must_use]
  • dwm-status 1.8.1/src/feature.rs
    35
    {
    36
        #[allow(clippy::missing_const_for_fn)] // not supported by stable
    37
        pub(crate) fn new(name: &'static str, notifier: N, updater: U) -> Self {
  • dwm-status 1.8.1/src/wrapper/dbus/message.rs
    46
        #[allow(clippy::missing_const_for_fn)]
    47
        pub(super) fn raw(self) -> dbus::Message {
  • dwm-status 1.8.1/src/wrapper/thread.rs
    20
    {
    21
        #[allow(clippy::missing_const_for_fn)] // not supported by stable
    22
        pub(crate) fn new(name: &'static str, runnable: R) -> Self {
  • dylint 2.1.3/src/error.rs
    19
    {
    20
        #[allow(clippy::missing_const_for_fn)]
    21
        pub fn new(error: E) -> Self {
  • eosio 0.3.1/src/binary_extension.rs
    57
        #[allow(clippy::missing_const_for_fn)]
    58
        #[inline]
  • epac-utils 0.1.0/src/either.rs
    131
        ///If `L` == `R` then this function will return an `L` - useful for when the [`Either`] side signifies something, but always returns the same type.
    132
        #[allow(clippy::missing_const_for_fn)] //Cannot be const as destructors cannot be const - Github error 8874
    133
        pub fn one_type(self) -> T {
  • error-stack 0.2.4/tests/common.rs
    253
    #[allow(unused_mut)]
    254
    #[allow(clippy::missing_const_for_fn)]
    255
    pub fn expect_count(mut count: usize) -> usize {
  • essence 0.3.3/src/maybe.rs
    43
        #[inline]
    44
        #[allow(clippy::missing_const_for_fn)] // false positive
    45
        pub fn into_option_or_if_absent(self, fallback: Option<T>) -> Option<T> {
  • exacl 0.10.0/src/acl.rs
    359
        #[must_use]
    360
        #[allow(clippy::missing_const_for_fn, dead_code)]
    361
        pub fn is_posix(&self) -> bool {
  • exun 0.1.0/src/exun.rs
    89
    	/// ```
    90
    	#[allow(clippy::missing_const_for_fn)]
    91
    	pub fn expected(self) -> Option<E> {
    115
    	/// ```
    116
    	#[allow(clippy::missing_const_for_fn)]
    117
    	pub fn unexpected(self) -> Option<U> {
  • feature-check 2.0.0/src/defs.rs
    106
    // https://github.com/rust-lang/rust-clippy/issues/4979
    107
    #[allow(clippy::missing_const_for_fn)]
    108
    impl Config {
  • feroxfuzz 1.0.0-rc.8/src/corpora/range.rs
    181
    {
    182
        #[allow(clippy::missing_const_for_fn)]
    183
        pub fn start(self, start: i64) -> Self {
    194
        #[allow(clippy::missing_const_for_fn)]
    195
        pub fn stop(self, stop: i64) -> RangeBuilder<HasItems, NS> {
    206
        #[allow(clippy::missing_const_for_fn)]
    207
        pub fn step(self, step: i64) -> Self {
  • feroxfuzz 1.0.0-rc.8/src/corpora/wordlist.rs
    431
        // false positive; clippy thinks this should be a const fn, but it can't be
    432
        #[allow(clippy::missing_const_for_fn)]
    433
        pub fn unique(self) -> WordlistBuilder<ItemState, NameState, Unique> {
  • find-simdoc 0.1.1/src/cosine.rs
    99
        /// Sets the scheme of TF weighting.
    100
        #[allow(clippy::missing_const_for_fn)]
    101
        pub fn tf(mut self, tf: Option<Tf>) -> Self {
    106
        /// Sets the scheme of IDF weighting.
    107
        #[allow(clippy::missing_const_for_fn)]
    108
        pub fn idf(mut self, idf: Option<Idf<u64>>) -> Self {
  • fossology-rs 0.2.3/src/lib.rs
    77
    impl<T> FossologyResponse<T> {
    78
        #[allow(clippy::missing_const_for_fn)]
    79
        pub(crate) fn return_response_or_error(self) -> Result<T, FossologyError> {
  • fumio-utils 0.1.0/src/park/park_thread.rs
    15
    	/// Create new `ParkThread` instance.
    16
    	#[allow(clippy::missing_const_for_fn)] // perhaps one day the impl needs non-const
    17
    	pub fn new() -> Self {
  • fuzzy_trie 1.2.0/src/lib.rs
    147
        #[inline]
    148
        #[allow(clippy::missing_const_for_fn)]
    149
        pub fn into_values(self) -> Vec<T> {
  • fyi_msg 0.10.6/src/msg/buffer.rs
    227
    	#[allow(clippy::missing_const_for_fn)] // Doesn't work.
    228
    	#[must_use]
  • girt-core 2.2.1/src/module/process_result.rs
    43
    	#[allow(clippy::missing_const_for_fn)] // false positive
    44
    	pub(crate) fn state(mut self, new_state: State) -> Self {
  • girt-git 2.2.0/src/testutil/build_commit.rs
    41
    	#[must_use]
    42
    	#[allow(clippy::missing_const_for_fn)]
    43
    	pub fn reference(mut self, reference: Reference) -> Self {
    50
    	#[must_use]
    51
    	#[allow(clippy::missing_const_for_fn)]
    52
    	pub fn author(mut self, author: User) -> Self {
    67
    	#[must_use]
    68
    	#[allow(clippy::missing_const_for_fn)]
    69
    	pub fn committer(mut self, committer: User) -> Self {
    100
    	#[must_use]
    101
    	#[allow(clippy::missing_const_for_fn)]
    102
    	pub fn build(self) -> Commit {
  • girt-git 2.2.0/src/testutil/build_commit_diff.rs
    28
    	#[must_use]
    29
    	#[allow(clippy::missing_const_for_fn)]
    30
    	pub fn commit(mut self, commit: Commit) -> Self {
    37
    	#[must_use]
    38
    	#[allow(clippy::missing_const_for_fn)]
    39
    	pub fn parent(mut self, parent: Commit) -> Self {
    78
    	#[must_use]
    79
    	#[allow(clippy::missing_const_for_fn)]
    80
    	pub fn build(self) -> CommitDiff {
  • girt-git 2.2.0/src/testutil/build_file_status.rs
    114
    	#[must_use]
    115
    	#[allow(clippy::missing_const_for_fn)]
    116
    	pub fn build(self) -> FileStatus {
  • girt-git 2.2.0/src/testutil/build_reference.rs
    55
    	#[must_use]
    56
    	#[allow(clippy::missing_const_for_fn)]
    57
    	pub fn build(self) -> Reference {
  • gistit-proto 0.1.2/src/lib.rs
    184
            /// Fails if instruction is not a request or is none
    185
            #[allow(clippy::missing_const_for_fn)]
    186
            pub fn expect_request(self) -> Result<instruction::Kind> {
    207
            /// Fails if instruction is not a response or is none
    208
            #[allow(clippy::missing_const_for_fn)]
    209
            pub fn expect_response(self) -> Result<instruction::Kind> {
  • gitui 0.22.1/src/components/commitlist.rs
    96
    	///
    97
    	#[allow(clippy::missing_const_for_fn)]
    98
    	pub fn selection_max(&self) -> usize {
    429
    	#[allow(clippy::missing_const_for_fn)]
    430
    	fn relative_selection(&self) -> usize {
  • gitui 0.22.1/src/profiler.rs
    9
    impl Profiler {
    10
    	#[allow(clippy::missing_const_for_fn)]
    11
    	pub fn new() -> Self {
  • gitui 0.22.1/src/ui/scrolllist.rs
    39
    	#[allow(clippy::missing_const_for_fn)]
    40
    	fn block(mut self, block: Block<'b>) -> Self {
  • gitui 0.22.1/src/ui/stateful_paragraph.rs
    92
    	#[allow(clippy::missing_const_for_fn)]
    93
    	pub fn block(mut self, block: Block<'a>) -> Self {
  • granite 1.1.1/src/list/mod.rs
    344
        /// Extracts the contained value.
    345
        #[allow(clippy::missing_const_for_fn)] // *sigh* destructors
    346
        pub fn into_inner(self) -> T {
  • granite 1.1.1/src/list/sparse.rs
    633
        }
    634
        #[allow(clippy::missing_const_for_fn)] // unreachable_unchecked isn't stable as const fn
    635
        unsafe fn element(&self) -> &T {
    646
        }
    647
        #[allow(clippy::missing_const_for_fn)] // unreachable_unchecked isn't stable as const fn
    648
        unsafe fn hole_link(&self) -> Option<usize> {
  • grass_compiler 0.12.2/src/selector/extend/extension.rs
    76
        #[allow(clippy::missing_const_for_fn)]
    77
        pub fn with_extender(mut self, extender: ComplexSelector) -> Self {
  • grass_compiler 0.12.2/src/selector/simple.rs
    599
        #[allow(clippy::missing_const_for_fn)]
    600
        pub fn with_selector(self, selector: Option<Box<SelectorList>>) -> Self {
  • hko 1.7.2/src/common/data_structure/message.rs
    70
        #[must_use]
    71
        #[allow(clippy::missing_const_for_fn)]
    72
        pub fn string(self) -> Option<String> {
    83
        #[must_use]
    84
        #[allow(clippy::missing_const_for_fn)]
    85
        pub fn list(self) -> Option<Vec<String>> {
  • hko 1.7.2/src/weather/current.rs
    94
        #[must_use]
    95
        #[allow(clippy::missing_const_for_fn)]
    96
        pub fn uv_index(self) -> Option<UVIndex> {
  • hmap-serde 0.1.0-alpha.4/src/hlabelledmap/mod.rs
    20
    impl<T> HLabelledMap<T> {
    21
        #[allow(clippy::missing_const_for_fn)] // const deref ptr is unstable
    22
        fn ref_cast(from: &T) -> &Self {
  • hmap-serde 0.1.0-alpha.4/src/hmap/mod.rs
    14
    impl<T> HMap<T> {
    15
        #[allow(clippy::missing_const_for_fn)] // const deref ptr is unstable
    16
        fn ref_cast(from: &T) -> &Self {
  • holodex 0.3.1/src/model/builders.rs
    81
        #[must_use]
    82
        #[allow(clippy::missing_const_for_fn)]
    83
        /// Only return videos from the given channel.
    90
        #[must_use]
    91
        #[allow(clippy::missing_const_for_fn)]
    92
        /// Only return videos with any of the given IDs.
    99
        #[must_use]
    100
        #[allow(clippy::missing_const_for_fn)]
    101
        /// Only return videos from a channel part of the given organisation.
    124
        #[must_use]
    125
        #[allow(clippy::missing_const_for_fn)]
    126
        /// Only return videos mentioning the given channel.
    157
        #[must_use]
    158
        #[allow(clippy::missing_const_for_fn)]
    159
        /// Consume the builder, returning the constructed filter.
  • holodex 0.3.1/src/model.rs
    738
        #[inline]
    739
        #[allow(clippy::missing_const_for_fn)]
    740
        /// Convert response into a [`Vec<T>`].
  • html5minify 0.3.3/src/lib.rs
    695
    #[allow(clippy::missing_const_for_fn)]
    696
    fn is_ascii_whitespace(c: char) -> bool {
  • iap 0.3.1/src/lib.rs
    205
        /// Stores Apple's shared secret required by their requestBody. See: <https://developer.apple.com/documentation/appstorereceipts/requestbody>
    206
        #[allow(clippy::missing_const_for_fn)]
    207
        #[must_use]
  • iced-x86 1.18.0/src/decoder.rs
    1246
    	#[inline]
    1247
    	#[allow(clippy::missing_const_for_fn)]
    1248
    	pub fn can_decode(&self) -> bool {
  • interoptopus 0.14.15/src/patterns/option.rs
    57
        #[allow(clippy::missing_const_for_fn)]
    58
        pub fn into_option(self) -> Option<T> {
  • into_ext 0.1.2/src/lib.rs
    147
        {
    148
            #[allow(clippy::missing_docs_in_private_items, clippy::missing_const_for_fn)]
    149
            fn helper<T>(val: <T as TypeIsEqual>::To) -> T {
    203
        {
    204
            #[allow(clippy::missing_docs_in_private_items, clippy::missing_const_for_fn)]
    205
            fn helper<T, E>(val: Result<<T as TypeIsEqual>::To, E>) -> Result<T, E> {
  • janki 0.2.1/src/either.rs
    24
        ///If `A` == `B` then this function will return an `A` - useful for when the [`Either`] side signifies something, but always returns the same type.
    25
        #[allow(clippy::missing_const_for_fn)] //Cannot be const as destructors cannot be const - Github error 8874
    26
        pub fn to_normal(self) -> A {
  • jrsonnet-interner 0.5.0-pre6/src/inner.rs
    87
    	// `slice::from_raw_parts` is not yet stabilized
    88
    	#[allow(clippy::missing_const_for_fn)]
    89
    	pub fn as_slice(&self) -> &[u8] {
  • kludgine-app 0.4.0/src/window.rs
    294
        #[must_use]
    295
        #[allow(clippy::missing_const_for_fn)] // unsupported
    296
        pub fn with_icon(mut self, icon: Icon) -> Self {
  • lattice-qcd-rs 0.2.1/src/error.rs
    268
        /// Deconstruct the structure.
    269
        #[allow(clippy::missing_const_for_fn)] // false positive
    270
        pub fn deconstruct(self) -> (Error, State) {
    274
        /// Deconstruct the structure returning the error and discarding the owned value.
    275
        #[allow(clippy::missing_const_for_fn)] // false positive
    276
        pub fn error_owned(self) -> Error {
    351
        #[allow(clippy::missing_const_for_fn)] // cannot test const function
    352
        #[test]
  • lattice-qcd-rs 0.2.1/src/simulation/monte_carlo/heat_bath.rs
    55
        /// Absorbed self and return the RNG as owned. It essentially deconstruct the structure.
    56
        #[allow(clippy::missing_const_for_fn)] // false positive
    57
        pub fn rng_owned(self) -> Rng {
  • lattice-qcd-rs 0.2.1/src/simulation/monte_carlo/hybrid.rs
    368
        /// Deconstruct the structure ang gives back both methods
    369
        #[allow(clippy::missing_const_for_fn)] // false positive
    370
        pub fn deconstruct(self) -> (MC1, MC2) {
  • lattice-qcd-rs 0.2.1/src/simulation/monte_carlo/hybrid_monte_carlo.rs
    136
        /// Get the last probably of acceptance of the random change.
    137
        #[allow(clippy::missing_const_for_fn)] // false positive
    138
        pub fn rng_owned(self) -> Rng {
    412
        /// Get the last probably of acceptance of the random change.
    413
        #[allow(clippy::missing_const_for_fn)] // false positive
    414
        pub fn rng_owned(self) -> Rng {
  • lattice-qcd-rs 0.2.1/src/simulation/monte_carlo/metropolis_hastings.rs
    353
        /// Absorbs self and return the RNG as owned. It essentially deconstruct the structure.
    354
        #[allow(clippy::missing_const_for_fn)] // false positive
    355
        pub fn rng_owned(self) -> Rng {
  • lattice-qcd-rs 0.2.1/src/simulation/monte_carlo/metropolis_hastings_sweep.rs
    100
        /// Get the last probably of acceptance of the random change.
    101
        #[allow(clippy::missing_const_for_fn)] // false positive
    102
        pub fn rng_owned(self) -> Rng {
  • lattice-qcd-rs 0.2.1/src/simulation/monte_carlo/mod.rs
    243
        /// deconstruct the structure to get back the rng if necessary
    244
        #[allow(clippy::missing_const_for_fn)] // false positive
    245
        pub fn deconstruct(self) -> (MCD, Rng) {
  • lefthk-core 0.1.8/src/xwrap.rs
    82
            // see issue #64926 <https://github.com/rust-lang/rust/issues/64926> for more information
    83
            #[allow(clippy::missing_const_for_fn)]
    84
            extern "C" fn on_error_from_xlib(
  • legacylisten 0.2.0/src/parser.rs
    71
        // destructors.
    72
        #[allow(clippy::missing_const_for_fn)]
    73
        pub fn into_tuple(self) -> (String, String)
  • linux-libc-auxv 0.2.1/src/parser.rs
    53
        /// Returns the number of arguments.
    54
        #[allow(clippy::missing_const_for_fn)]
    55
        pub fn argc(&self) -> usize {
  • livesplit-core 0.13.0/src/layout/editor/mod.rs
    53
        /// object you get here.
    54
        #[allow(clippy::missing_const_for_fn)] // FIXME: Drop unsupported.
    55
        pub fn close(self) -> Layout {
  • livesplit-core 0.13.0/src/rendering/resource/handles.rs
    26
        /// Get the handles's next ID.
    27
        #[allow(clippy::missing_const_for_fn)] // FIXME: Drop is unsupported.
    28
        pub fn into_next_id(self) -> usize {
  • livesplit-core 0.13.0/src/run/editor/mod.rs
    113
        /// you get here.
    114
        #[allow(clippy::missing_const_for_fn)] // FIXME: Drop is unsupported.
    115
        pub fn close(self) -> Run {
  • livesplit-core 0.13.0/src/settings/value.rs
    215
    #[allow(clippy::missing_const_for_fn)] // FIXME: Drop is unsupported.
    216
    impl Value {
  • lsp_msg_internal 0.3.0/src/lib.rs
    78
    impl<T> Default for Elective<T> {
    79
        #[allow(clippy::missing_const_for_fn)] // must follow Default::default().
    80
        fn default() -> Self {
    101
    #[lsp_kind(type = "string")]
    102
    #[allow(clippy::missing_const_for_fn)] // #[derive(Clone)] adds function that could be const.
    103
    #[derive(Clone, Copy)]
  • malachite-base 0.3.2/src/num/conversion/string/to_string.rs
    47
        /// ```
    48
        #[allow(clippy::missing_const_for_fn)]
    49
        pub fn unwrap(self) -> T {
  • malachite-base 0.3.2/src/num/random/geometric.rs
    62
        // unwrap not const yet
    63
        #[allow(clippy::missing_const_for_fn)]
    64
        fn sub_u64(self, x: u64) -> SimpleRational {
  • malachite-base 0.3.2/src/rational_sequences/conversion.rs
    72
        /// ```
    73
        #[allow(clippy::missing_const_for_fn)] // can't be const because of destructors
    74
        pub fn into_vecs(self) -> (Vec<T>, Vec<T>) {
  • malachite-base 0.3.2/src/test_util/extra_variadic/mod.rs
    24
    #[allow(clippy::missing_const_for_fn)]
    25
    fn unwrap_quadruple<X, Y, Z, W>(
  • malachite-base 0.3.2/src/tuples/exhaustive.rs
    1454
    #[cfg(feature = "test_build")]
    1455
    #[allow(clippy::missing_const_for_fn)]
    1456
    fn unwrap_triple<X, Y, Z>((a, b, c): (Option<X>, Option<Y>, Option<Z>)) -> (X, Y, Z) {
  • malachite-nz 0.3.2/src/natural/arithmetic/div.rs
    1326
    // where `k == 0`.
    1327
    #[allow(clippy::missing_const_for_fn)]
    1328
    fn limbs_div_barrett_approx_is_len(q_len: usize, d_len: usize) -> usize {
  • malachite-nz 0.3.2/src/natural/conversion/string/to_string.rs
    77
        /// ```
    78
        #[allow(clippy::missing_const_for_fn)]
    79
        pub fn unwrap(self) -> T {
  • malachite-nz 0.3.2/src/test_util/extra_variadic/mod.rs
    14
    #[allow(clippy::missing_const_for_fn)]
    15
    fn unwrap_triple<X, Y, Z>((a, b, c): (Option<X>, Option<Y>, Option<Z>)) -> (X, Y, Z) {
    19
    #[allow(clippy::missing_const_for_fn)]
    20
    fn unwrap_quadruple<X, Y, Z, W>(
    26
    #[allow(clippy::missing_const_for_fn)]
    27
    fn unwrap_quintuple<X, Y, Z, W, V>(
  • malachite-q 0.3.2/src/conversion/to_numerator_and_denominator.rs
    93
        #[inline]
    94
        #[allow(clippy::missing_const_for_fn)]
    95
        pub fn into_numerator(self) -> Natural {
    112
        #[inline]
    113
        #[allow(clippy::missing_const_for_fn)]
    114
        pub fn into_denominator(self) -> Natural {
    138
        #[inline]
    139
        #[allow(clippy::missing_const_for_fn)]
    140
        pub fn into_numerator_and_denominator(self) -> (Natural, Natural) {
  • malachite-q 0.3.2/src/test_util/extra_variadic/mod.rs
    17
    #[allow(clippy::missing_const_for_fn)]
    18
    fn unwrap_triple<X, Y, Z>((a, b, c): (Option<X>, Option<Y>, Option<Z>)) -> (X, Y, Z) {
    22
    #[allow(clippy::missing_const_for_fn)]
    23
    fn unwrap_quadruple<X, Y, Z, W>(
  • meiosis 0.1.0/src/algorithm/fitness.rs
    99
        // Adding `const` causes Rust to complain about not being able to evaluate the destructor at compile-time.
    100
        #[allow(clippy::missing_const_for_fn)]
    101
        pub fn with_rng<RNG>(self, rng: RNG) -> Configuration<WithRNG<RNG>>
    111
        // Adding `const` causes Rust to complain about not being able to evaluate the destructor at compile-time.
    112
        #[allow(clippy::missing_const_for_fn)]
    113
        pub fn with_environment<ENVIRONMENT>(
    131
        // Adding `const` causes Rust to complain about not being able to evaluate the destructor at compile-time.
    132
        #[allow(clippy::missing_const_for_fn)]
    133
        pub fn with_selection<SELECTION>(
    149
        // Adding `const` causes Rust to complain about not being able to evaluate the destructor at compile-time.
    150
        #[allow(clippy::missing_const_for_fn)]
    151
        pub fn with_recombination<RECOMBINATION>(
    170
        // Adding `const` causes Rust to complain about not being able to evaluate the destructor at compile-time.
    171
        #[allow(clippy::missing_const_for_fn)]
    172
        pub fn with_mutation<MUTATION>(
  • metrics-prometheus 0.3.1/src/metric.rs
    27
        /// Unwraps this [`Metric`] returning its inner [`prometheus`] metric
    28
        #[allow(clippy::missing_const_for_fn)] // false positive: drop
    29
        #[must_use]
  • metrics-prometheus 0.3.1/src/recorder/mod.rs
    579
        /// ```
    580
        #[allow(clippy::missing_const_for_fn)] // false positive: drop
    581
        pub fn with_failure_strategy<F>(self, strategy: F) -> Builder<F, L>
    1297
        /// [`metrics::Layer`]: Layer
    1298
        #[allow(clippy::missing_const_for_fn)] // false positive: drop
    1299
        pub fn with_layer<L>(
  • mmoxi 0.1.2/src/disk.rs
    60
        // ALLOW false positive: constant functions cannot evaluate destructors
    61
        #[allow(clippy::missing_const_for_fn)]
    62
        #[must_use]
  • mmoxi 0.1.2/src/nsd.rs
    240
        // ALLOW false positive: constant functions cannot evaluate destructors
    241
        #[allow(clippy::missing_const_for_fn)]
    242
        #[must_use]
  • mmoxi 0.1.2/src/state.rs
    79
        // ALLOW false positive: constant functions cannot evaluate destructors
    80
        #[allow(clippy::missing_const_for_fn)]
    81
        #[must_use]
  • mockito 0.31.1/src/lib.rs
    895
        /// Instantiate the matcher directly passing the content
    896
        #[allow(clippy::missing_const_for_fn)]
    897
        pub fn from_bytes(content: Vec<u8>) -> Self {
    1192
        ///
    1193
        #[allow(clippy::missing_const_for_fn)]
    1194
        pub fn expect(mut self, hits: usize) -> Self {
    1333
        #[allow(clippy::missing_const_for_fn)]
    1334
        fn is_local(&self) -> bool {
  • mockito 0.31.1/src/request.rs
    27
        #[allow(clippy::missing_const_for_fn)]
    28
        pub fn is_ok(&self) -> bool {
    32
        #[allow(clippy::missing_const_for_fn)]
    33
        pub fn is_err(&self) -> bool {
    37
        #[allow(clippy::missing_const_for_fn)]
    38
        pub fn error(&self) -> Option<&String> {
  • mockito 0.31.1/src/server.rs
    33
        #[allow(clippy::missing_const_for_fn)]
    34
        fn is_missing_hits(&self) -> bool {
    59
    impl State {
    60
        #[allow(clippy::missing_const_for_fn)]
    61
        fn new() -> Self {
  • multiboot2-header 0.2.0/src/builder/header.rs
    182
        // clippy thinks this can be a const fn but the compiler denies it
    183
        #[allow(clippy::missing_const_for_fn)]
    184
        pub fn information_request_tag(
  • naga 0.11.0/src/arena.rs
    244
        /// Extracts the inner vector.
    245
        #[allow(clippy::missing_const_for_fn)] // ignore due to requirement of #![feature(const_precise_live_drops)]
    246
        pub fn into_inner(self) -> Vec<T> {
  • naga 0.11.0/src/back/msl/writer.rs
    652
        // See https://github.com/rust-lang/rust-clippy/issues/4979.
    653
        #[allow(clippy::missing_const_for_fn)]
    654
        pub fn finish(self) -> W {
  • naga 0.11.0/src/back/wgsl/writer.rs
    1877
        // See https://github.com/rust-lang/rust-clippy/issues/4979.
    1878
        #[allow(clippy::missing_const_for_fn)]
    1879
        pub fn finish(self) -> W {
  • naga 0.11.0/src/span.rs
    173
        /// Reverse of [`Self::new`], discards span information and returns an inner error.
    174
        #[allow(clippy::missing_const_for_fn)] // ignore due to requirement of #![feature(const_precise_live_drops)]
    175
        pub fn into_inner(self) -> E {
  • nc 0.8.13/src/c_str.rs
    139
        #[inline]
    140
        #[allow(clippy::missing_const_for_fn)]
    141
        unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &Self {
    152
        #[allow(clippy::borrow_as_ptr)]
    153
        #[allow(clippy::missing_const_for_fn)]
    154
        // NOTE(Shaohua): const unsafe feature is not available in rustc 1.46 stable.
  • nonogrid 0.7.3/src/board.rs
    34
        #[allow(clippy::missing_const_for_fn)]
    35
        pub fn with_line_and_offset(position: LinePosition, offset: usize) -> Self {
    51
    #[allow(clippy::missing_const_for_fn)]
    52
    impl LinePosition {
  • nonogrid 0.7.3/src/solver/probing.rs
    260
    impl<PropagationResult> ProbeResult<PropagationResult> {
    261
        #[allow(clippy::missing_const_for_fn)]
    262
        #[allow(clippy::match_like_matches_macro)]
    271
        #[allow(clippy::missing_const_for_fn)]
    272
        fn unwrap(self) -> PropagationResult {
  • omegaupload 0.1.1/src/fragment.rs
    25
        // False positive
    26
        #[allow(clippy::missing_const_for_fn)]
    27
        pub fn file_name(mut self, name: String) -> Self {
    32
        // False positive
    33
        #[allow(clippy::missing_const_for_fn)]
    34
        pub fn language(mut self, language: String) -> Self {
  • pin-project 1.0.12/tests/expand/default/enum.expanded.rs
    91
            #[allow(dead_code)]
    92
            #[allow(clippy::missing_const_for_fn)]
    93
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/default/struct.expanded.rs
    56
            #[allow(dead_code)]
    57
            #[allow(clippy::missing_const_for_fn)]
    58
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/default/tuple_struct.expanded.rs
    50
            #[allow(dead_code)]
    51
            #[allow(clippy::missing_const_for_fn)]
    52
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/multifields/enum.expanded.rs
    150
            #[allow(dead_code)]
    151
            #[allow(clippy::missing_const_for_fn)]
    152
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/multifields/struct.expanded.rs
    73
            #[allow(dead_code)]
    74
            #[allow(clippy::missing_const_for_fn)]
    75
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/multifields/tuple_struct.expanded.rs
    63
            #[allow(dead_code)]
    64
            #[allow(clippy::missing_const_for_fn)]
    65
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/naming/enum-all.expanded.rs
    106
            #[allow(dead_code)]
    107
            #[allow(clippy::missing_const_for_fn)]
    108
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/naming/enum-ref.expanded.rs
    46
            #[allow(dead_code)]
    47
            #[allow(clippy::missing_const_for_fn)]
    48
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/naming/struct-all.expanded.rs
    91
            #[allow(dead_code)]
    92
            #[allow(clippy::missing_const_for_fn)]
    93
            fn project_ref<'pin>(
  • pin-project 1.0.12/tests/expand/naming/struct-mut.expanded.rs
    66
            #[allow(dead_code)]
    67
            #[allow(clippy::missing_const_for_fn)]
    68
            fn project_ref<'pin>(
  • pix-engine 0.7.0/src/image.rs
    325
        // FIXME: https://github.com/rust-lang/rust-clippy/issues/4979
    326
        #[allow(clippy::missing_const_for_fn)]
    327
        pub fn into_bytes(self) -> Vec<u8> {
  • placement-new 0.3.0/src/__private.rs
    5
    #[allow(clippy::missing_const_for_fn)] // FIXME: false positive
    6
    #[inline]
  • plow_cli 0.4.8/src/subcommand/init/workspace/fields.rs
    40
    impl FieldPath {
    41
        #[allow(clippy::missing_const_for_fn)]
    42
        pub fn into_inner(self) -> Utf8PathBuf {
  • punktf-lib 2.0.0/src/template/diagnostic.rs
    187
    	// Destructors can not be run at compile time.
    188
    	#[allow(clippy::missing_const_for_fn)]
    189
    	pub fn build(self) -> Diagnostic {
  • punktf-lib 2.0.0/src/template/span.rs
    248
    	// Destructors can not be run at compile time.
    249
    	#[allow(clippy::missing_const_for_fn)]
    250
    	pub fn into_span(self) -> ByteSpan {
    255
    	// Destructors can not be run at compile time.
    256
    	#[allow(clippy::missing_const_for_fn)]
    257
    	pub fn into_value(self) -> T {
    262
    	// Destructors can not be run at compile time.
    263
    	#[allow(clippy::missing_const_for_fn)]
    264
    	pub fn into_inner(self) -> (ByteSpan, T) {
  • punktf-lib 2.0.0/src/visit/mod.rs
    715
    	/// Gets the base [`Visitor`].
    716
    	#[allow(clippy::missing_const_for_fn)]
    717
    	pub fn into_inner(self) -> V {
  • qcs-api-client-common 0.3.0/src/configuration/mod.rs
    100
        #[must_use]
    101
        #[allow(clippy::missing_const_for_fn)]
    102
        pub fn builder() -> ClientConfigurationBuilder {
  • qcs-api-client-common 0.3.0/src/configuration/settings.rs
    128
    #[allow(clippy::missing_const_for_fn)]
    129
    impl AuthServer {
  • qoi 0.4.1/src/decode.rs
    326
        #[inline]
    327
        #[allow(clippy::missing_const_for_fn)]
    328
        pub fn into_reader(self) -> R {
  • qsv 0.87.0/src/config.rs
    252
        #[allow(clippy::missing_const_for_fn)]
    253
        pub fn select(mut self, sel_cols: SelectColumns) -> Config {
  • radvisor 1.3.1/src/polling/providers/docker.rs
    286
    /// TODO investigate more stringent checks
    287
    #[allow(clippy::missing_const_for_fn)]
    288
    fn should_collect_stats(_c: &Container) -> bool { true }
  • ranges 0.3.3/src/generic_range/invert.rs
    17
        #[must_use]
    18
        #[allow(clippy::missing_const_for_fn)]
    19
        // we can not make this const yet, because `bound` gets dropped,
  • rav1e 0.6.3/src/bin/common.rs
    365
    #[cfg(not(feature = "serialize"))]
    366
    #[allow(clippy::missing_const_for_fn)]
    367
    fn build_speed_long_help() -> Option<&'static str> {
  • relearn 0.3.1/src/agents/pair.rs
    114
    #[allow(clippy::missing_const_for_fn)]
    115
    fn split_partial_step<O0, O1, A0, A1, F0, F1>(
  • relearn 0.3.1/src/envs/mod.rs
    272
        /// Unwrap into the contained `Continue` value if possible.
    273
        #[allow(clippy::missing_const_for_fn)] // not allowed to be const at time of writing
    274
        #[inline]
    282
        /// Unwrap into the contained `Interrupt` value if possible.
    283
        #[allow(clippy::missing_const_for_fn)] // not allowed to be const at time of writing
    284
        #[inline]
    298
        /// Drop any stored `Continue` state, converting into `PartialSuccessor`.
    299
        #[allow(clippy::missing_const_for_fn)] // not allowed to be const at time of writing
    300
        #[inline]
    322
        /// Partition into a `PartialSuccessor` and the `Continue` state, if any.
    323
        #[allow(clippy::missing_const_for_fn)] // not allowed to be const at time of writing
    324
        #[inline]
    363
        /// Get the inner state of `Continue` and `Interrupt` variants.
    364
        #[allow(clippy::missing_const_for_fn)] // not allowed to be const at time of writing
    365
        #[inline]
  • relearn 0.3.1/src/simulation/mod.rs
    108
        #[inline]
    109
        #[allow(clippy::missing_const_for_fn)] // false positive
    110
        pub fn try_into_transient<'a>(self) -> Option<TransientStep<'a, O, A, F>> {
  • relearn 0.3.1/src/torch/packed.rs
    117
        /// Convert into the underlying packed [`Tensor`] object.
    118
        #[allow(clippy::missing_const_for_fn)] // false positive
    119
        #[inline]
    441
        /// Any sequences with length less than `n` are reduced to length `0`.
    442
        #[allow(clippy::missing_const_for_fn)] // false positive
    443
        #[must_use]
  • relearn 0.3.1/src/torch/tensors/exclusive.rs
    93
        /// Convert into the inner tensor.
    94
        #[allow(clippy::missing_const_for_fn)] // false positive; cannot run destructors
    95
        pub fn into_tensor(self) -> Tensor {
  • ril 0.9.0/src/draw.rs
    251
        #[allow(clippy::missing_const_for_fn)]
    252
        pub(crate) fn with_fill_color(mut self, color: F::Fill) -> Self {
    700
        #[allow(clippy::missing_const_for_fn)]
    701
        pub(crate) fn with_fill_color(mut self, fill: F::Fill) -> Self {
    966
        #[allow(clippy::missing_const_for_fn)]
    967
        pub(crate) fn with_fill_color(mut self, fill: F::Fill) -> Self {
    1155
        #[allow(clippy::missing_const_for_fn)]
    1156
        pub(crate) fn with_fill_color(mut self, fill: F::Fill) -> Self {
    1492
        #[must_use]
    1493
        #[allow(clippy::missing_const_for_fn)]
    1494
        pub unsafe fn with_mask_unchecked(mut self, mask: &'mask Image<crate::BitPixel>) -> Self {
  • ril 0.9.0/src/sequence.rs
    100
        /// Consumes this frame returning the inner image it represents.
    101
        #[allow(clippy::missing_const_for_fn)] // can't use destructors with const fn
    102
        #[must_use]
    464
        #[must_use]
    465
        #[allow(clippy::missing_const_for_fn)]
    466
        pub fn into_frames(self) -> Vec<Frame<P>> {
  • ril 0.9.0/src/text.rs
    94
        #[must_use]
    95
        #[allow(clippy::missing_const_for_fn)] // no destructors
    96
        pub fn into_inner(self) -> fontdue::Font {
  • rsasl 2.0.0-rc.4/src/callback.rs
    242
        // false positive
    243
        #[allow(clippy::missing_const_for_fn)]
    244
        pub fn try_unwrap(self) -> Option<G> {
  • ruint 1.7.0/src/algorithms/div/reciprocal.rs
    137
    #[allow(clippy::missing_const_for_fn)] // False positive
    138
    #[inline(always)]
    147
    #[allow(clippy::missing_const_for_fn)] // False positive
    148
    #[inline(always)]
  • ruint 1.7.0/src/bits.rs
    363
        #[must_use]
    364
        #[allow(clippy::missing_const_for_fn)] // False positive
    365
        pub fn rotate_left(self, rhs: usize) -> Self {
  • ruint 1.7.0/src/div.rs
    6
        #[must_use]
    7
        #[allow(clippy::missing_const_for_fn)] // False positive
    8
        pub fn checked_div(self, rhs: Self) -> Option<Self> {
    16
        #[must_use]
    17
        #[allow(clippy::missing_const_for_fn)] // False positive
    18
        pub fn checked_rem(self, rhs: Self) -> Option<Self> {
  • ruint 1.7.0/src/support/serde.rs
    110
    /// Helper function to remove  optionally `0x` prefix from hex strings.
    111
    #[allow(clippy::missing_const_for_fn)]
    112
    fn trim_hex_prefix(str: &str) -> &str {
  • rust-query 0.0.0-alpha-1/src/config/retry.rs
    182
        // Possible drop, can't be const
    183
        #[allow(clippy::missing_const_for_fn)]
    184
        #[must_use = "Builder pattern"]
    192
        // Possible drop, can't be const
    193
        #[allow(clippy::missing_const_for_fn)]
    194
        #[must_use = "Builder pattern"]
    202
        // Possible drop, can't be const
    203
        #[allow(clippy::missing_const_for_fn)]
    204
        #[must_use = "Builder pattern"]
    212
        // Possible drop, can't be const
    213
        #[allow(clippy::missing_const_for_fn)]
    214
        #[must_use = "Builder pattern"]
    222
        // Possible drop, can't be const
    223
        #[allow(clippy::missing_const_for_fn)]
    224
        #[must_use = "Builder pattern"]
  • rust-query 0.0.0-alpha-1/src/listenable.rs
    79
        // Self is drop, can't be consumed by const fn
    80
        #[allow(clippy::missing_const_for_fn)]
    81
        pub(crate) fn unwrap(self) -> T {
  • rust-query 0.0.0-alpha-1/src/mutation.rs
    87
        // Possible drop
    88
        #[allow(clippy::missing_const_for_fn)]
    89
        pub fn set_retry(mut self, retry: RetryConfig<'cfg, E>) -> Self {
  • rust-query 0.0.0-alpha-1/src/query.rs
    125
        // Possible drop
    126
        #[allow(clippy::missing_const_for_fn)]
    127
        pub fn set_retry(mut self, retry: RetryConfig<'cfg, E>) -> Self {
  • rust-query 0.0.0-alpha-1/src/status.rs
    24
    impl LoadingStatus {
    25
        #[allow(unreachable_code, clippy::missing_const_for_fn)]
    26
        #[inline]
  • rustix 0.36.7/src/backend/linux_raw/termios/syscalls.rs
    145
    #[must_use]
    146
    #[allow(clippy::missing_const_for_fn)]
    147
    pub(crate) fn cfgetospeed(termios: &Termios) -> u32 {
    152
    #[must_use]
    153
    #[allow(clippy::missing_const_for_fn)]
    154
    pub(crate) fn cfgetispeed(termios: &Termios) -> u32 {
  • rustix 0.36.7/src/const_assert.rs
    14
    #[test]
    15
    #[allow(clippy::missing_const_for_fn)]
    16
    fn test_const_assert() {
  • s3-server 0.2.0/src/errors.rs
    151
        /// finish the builder
    152
        #[allow(clippy::missing_const_for_fn)] // FIXME: See <https://github.com/rust-lang/rust/issues/73255>
    153
        #[inline]
  • secrets 1.2.0/src/boxed.rs
    106
        /// Returns the number of elements in the [`Box`].
    107
        #[allow(clippy::missing_const_for_fn)] // not usable on min supported Rust
    108
        pub(crate) fn len(&self) -> usize {
    112
        /// Returns true if the [`Box`] is empty.
    113
        #[allow(clippy::missing_const_for_fn)] // not usable on min supported Rust
    114
        pub(crate) fn is_empty(&self) -> bool {
  • secrets 1.2.0/src/secret_vec.rs
    201
        /// Returns the number of elements in the [`SecretVec`].
    202
        #[allow(clippy::missing_const_for_fn)] // not usable on min supported Rust
    203
        pub fn len(&self) -> usize {
    207
        /// Returns true if length of the [`SecretVec`] is zero.
    208
        #[allow(clippy::missing_const_for_fn)] // not usable on min supported Rust
    209
        pub fn is_empty(&self) -> bool {
  • seed 0.9.2/src/browser/fetch/request.rs
    49
        // TODO: remove when https://github.com/rust-lang/rust-clippy/issues/4979 will be fixed
    50
        #[allow(clippy::missing_const_for_fn)]
    51
        /// Set headers for this request.
  • seed 0.9.2/src/browser/url.rs
    317
        /// * [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/URL/hash)
    318
        #[allow(clippy::missing_const_for_fn)]
    319
        pub fn hash(&self) -> Option<&String> {
  • seed 0.9.2/src/virtual_dom/event_handler_manager.rs
    30
        // @TODO Remove the line below once https://github.com/rust-lang/rust/issues/71835 is resolved.
    31
        #[allow(clippy::missing_const_for_fn)]
    32
        pub fn new() -> Self {
  • seed 0.9.2/src/virtual_dom/node.rs
    132
        /// Retrive `key` attached to the `El`
    133
        #[allow(clippy::missing_const_for_fn)]
    134
        pub fn el_key(&self) -> Option<&ElKey> {
    191
        #[allow(clippy::missing_const_for_fn)]
    192
        pub fn node_ws(&self) -> Option<&web_sys::Node> {
  • sentry-contrib-native 0.3.1/src/breadcrumb.rs
    72
        #[must_use = "`Breadcrumb` doesn't do anything without `Breadcrumb::add`"]
    73
        #[allow(clippy::missing_const_for_fn)]
    74
        pub fn new(r#type: Option<String>, message: Option<String>) -> Self {
  • sentry-contrib-native 0.3.1/src/event.rs
    97
        #[must_use = "`Event` doesn't do anything without `Event::capture`"]
    98
        #[allow(clippy::missing_const_for_fn)]
    99
        pub fn new() -> Self {
  • sentry-contrib-native 0.3.1/src/transport.rs
    553
        #[must_use]
    554
        #[allow(clippy::missing_const_for_fn)]
    555
        pub fn into_parts(self) -> Parts {
  • sentry-contrib-native 0.3.1/src/user.rs
    55
        #[must_use]
    56
        #[allow(clippy::missing_const_for_fn)]
    57
        pub fn new() -> Self {
  • sentry-contrib-native 0.3.1/src/value.rs
    189
        /// ```
    190
        #[allow(clippy::missing_const_for_fn)]
    191
        pub fn into_null(self) -> Result<(), Error> {
    259
        /// ```
    260
        #[allow(clippy::missing_const_for_fn)]
    261
        pub fn into_bool(self) -> Result<bool, Error> {
    329
        /// ```
    330
        #[allow(clippy::missing_const_for_fn)]
    331
        pub fn into_int(self) -> Result<i32, Error> {
    399
        /// ```
    400
        #[allow(clippy::missing_const_for_fn)]
    401
        pub fn into_double(self) -> Result<f64, Error> {
    471
        /// ```
    472
        #[allow(clippy::missing_const_for_fn)]
    473
        pub fn into_string(self) -> Result<String, Error> {
  • simdutf8 0.1.4/src/compat.rs
    34
        #[must_use]
    35
        #[allow(clippy::missing_const_for_fn)] // would not provide any benefit
    36
        pub fn valid_up_to(&self) -> usize {
  • simdutf8 0.1.4/src/implementation/helpers.rs
    40
    #[allow(dead_code)]
    41
    #[allow(clippy::missing_const_for_fn)] // clippy is wrong, it cannot really be const
    42
    pub(crate) unsafe fn memcpy_unaligned_nonoverlapping_inline_opt_lt_64(
  • simdutf8 0.1.4/tests/tests.rs
    109
    #[cfg(feature = "public_imp")]
    110
    #[allow(clippy::missing_const_for_fn)]
    111
    #[allow(unused_variables)]
    177
    #[cfg(feature = "public_imp")]
    178
    #[allow(clippy::missing_const_for_fn)]
    179
    #[allow(unused_variables)]
  • simplearrayhash 0.1.1/src/lib.rs
    278
        #[inline(always)]
    279
        #[allow(clippy::missing_const_for_fn)]
    280
        fn num_keys(&self) -> usize {
  • sparkle-cache 0.14.1/src/model/message.rs
    34
        /// Create a cached embed field from a given embed field and embed ID
    35
        #[allow(clippy::missing_const_for_fn)]
    36
        #[must_use]
    191
        /// Create a cached attachment from a given attachment and message ID
    192
        #[allow(clippy::missing_const_for_fn)]
    193
        #[must_use]
  • sparkle-cache 0.14.1/src/model/role.rs
    40
        /// Create a cached role from a given role and guild ID
    41
        #[allow(clippy::missing_const_for_fn)]
    42
        #[must_use]
  • sparkle-cache 0.14.1/src/model/sticker.rs
    42
        /// Create a cached sticker from a given message sticker and message ID
    43
        #[allow(clippy::missing_const_for_fn)]
    44
        #[must_use]
  • sparkle-convenience 0.14.24/src/error.rs
    65
        /// Set the file to log messages to
    66
        #[allow(clippy::missing_const_for_fn)]
    67
        pub fn set_logging_file(&mut self, logging_file_path: String) {
  • sparkle-convenience 0.14.24/src/reply.rs
    49
        #[must_use]
    50
        #[allow(clippy::missing_const_for_fn)]
    51
        pub fn content(mut self, content: String) -> Self {
    78
        #[must_use]
    79
        #[allow(clippy::missing_const_for_fn)]
    80
        pub fn ephemeral(mut self) -> Self {
    88
        #[must_use]
    89
        #[allow(clippy::missing_const_for_fn)]
    90
        pub fn allowed_mentions(mut self, allowed_mentions: Option<AllowedMentions>) -> Self {
    96
        #[must_use]
    97
        #[allow(clippy::missing_const_for_fn)]
    98
        pub fn tts(mut self) -> Self {
  • stati 0.11.0-beta/src/bars/spinny.rs
    95
        #[must_use]
    96
        #[allow(clippy::missing_const_for_fn)] //you are WRONG
    97
        pub fn task_name(mut self, task_name: String) -> Self {
  • strict-env 0.1.2/src/lib.rs
    173
    #[allow(
    174
        clippy::missing_const_for_fn,
    175
        clippy::unwrap_used,
  • sucds 0.6.0/src/broadword.rs
    117
    /// ```
    118
    #[allow(clippy::missing_const_for_fn)]
    119
    #[inline(always)]
    144
    /// ```
    145
    #[allow(clippy::missing_const_for_fn)]
    146
    #[inline(always)]
  • svgplot 2022.0.46/src/path.rs
    47
    impl SvgPath {
    48
        #[allow(clippy::missing_const_for_fn)]
    49
        pub fn shape(mut self, shape: SvgShape) -> Self {
  • synthez-core 0.2.0/src/spanned.rs
    56
        // false positive: constant functions cannot evaluate destructors
    57
        #[allow(clippy::missing_const_for_fn)]
    58
        #[must_use]
  • tbot 0.6.7/src/contexts/chosen_inline.rs
    26
        // https://github.com/rust-lang/rust-clippy/issues/4041
    27
        #[allow(clippy::missing_const_for_fn)]
    28
        pub(crate) fn new(
  • tbot 0.6.7/src/contexts/command.rs
    35
    impl<C> Command<C> {
    36
        #[allow(clippy::missing_const_for_fn)]
    37
        pub(crate) fn new(command: String, context: C) -> Self {
  • tbot 0.6.7/src/contexts/inline.rs
    27
        // https://github.com/rust-lang/rust-clippy/issues/4041
    28
        #[allow(clippy::missing_const_for_fn)]
    29
        pub(crate) fn new(bot: Arc<Bot>, inline_query: InlineQuery) -> Self {
  • tbot 0.6.7/src/contexts/pre_checkout.rs
    31
        // https://github.com/rust-lang/rust-clippy/issues/4041
    32
        #[allow(clippy::missing_const_for_fn)]
    33
        pub(crate) fn new(bot: Arc<Bot>, query: PreCheckoutQuery) -> Self {
  • tbot 0.6.7/src/contexts/shipping.rs
    25
        // https://github.com/rust-lang/rust-clippy/issues/4041
    26
        #[allow(clippy::missing_const_for_fn)]
    27
        pub(crate) fn new(bot: Arc<Bot>, query: shipping::Query) -> Self {
  • tbot 0.6.7/src/methods/send_dice.rs
    56
        // https://github.com/rust-lang/rust-clippy/issues/4041
    57
        #[allow(clippy::missing_const_for_fn)]
    58
        pub fn kind(mut self, kind: Kind) -> Self {
  • tbot 0.6.7/src/state/event_loop.rs
    83
        /// loop are still kept.
    84
        #[allow(clippy::missing_const_for_fn)] // https://github.com/rust-lang/rust-clippy/issues/4979
    85
        pub fn into_stateless(self) -> EventLoop {
  • tbot 0.6.7/src/types/message.rs
    58
        // https://github.com/rust-lang/rust-clippy/issues/4041
    59
        #[allow(clippy::missing_const_for_fn)]
    60
        pub(crate) fn new(data: Data, kind: Kind) -> Self {
    76
        // https://github.com/rust-lang/rust-clippy/issues/4041
    77
        #[allow(clippy::missing_const_for_fn)]
    78
        pub(crate) fn split(self) -> (Data, Kind) {
  • termusic 0.7.8/src/player/rusty_backend/conversions/sample.rs
    11
    #[allow(clippy::missing_const_for_fn)]
    12
    impl<I, O> DataConverter<I, O> {
  • termusic 0.7.8/src/player/rusty_backend/source/amplify.rs
    21
    #[allow(clippy::missing_const_for_fn, unused)]
    22
    impl<I> Amplify<I> {
  • termusic 0.7.8/src/player/rusty_backend/source/done.rs
    15
    #[allow(clippy::use_self, clippy::missing_const_for_fn, unused)]
    16
    impl<I> Done<I> {
  • termusic 0.7.8/src/player/rusty_backend/source/samples_converter.rs
    18
    #[allow(clippy::use_self, unused, clippy::missing_const_for_fn)]
    19
    impl<I, D> SamplesConverter<I, D> {
  • termusic 0.7.8/src/player/rusty_backend/source/skippable.rs
    20
    #[allow(unused, clippy::missing_const_for_fn)]
    21
    impl<I> Skippable<I> {
  • termusic 0.7.8/src/player/rusty_backend/source/stoppable.rs
    18
    #[allow(unused, clippy::missing_const_for_fn)]
    19
    impl<I> Stoppable<I> {
  • tetanes 0.8.0/src/apu.rs
    295
        #[allow(clippy::missing_const_for_fn)]
    296
        #[inline]
  • tetanes 0.8.0/src/ppu/vram.rs
    84
        #[allow(clippy::missing_const_for_fn)]
    85
        #[inline]
  • time 0.3.17/src/sys/local_offset_at/unix.rs
    90
    ))]
    91
    #[allow(unused_variables, clippy::missing_const_for_fn)]
    92
    fn tm_to_offset(tm: libc::tm) -> Option<UtcOffset> {
  • token_server 0.1.15/src/token_server/routes.rs
    85
        /// move the contents to a `(StatusCode, String)` tuple
    86
        #[allow(clippy::missing_const_for_fn)]
    87
        fn into_tuple(self) -> (StatusCode, String) {
  • tokio-io-compat 0.1.1/src/lib.rs
    81
        /// Get the inner type.
    82
        #[allow(clippy::missing_const_for_fn)] // false positive
    83
        pub fn into_inner(self) -> T {
  • tongrams 0.1.4/src/trie_count_lm/builder.rs
    168
    impl CountsBuilder {
    169
        #[allow(clippy::missing_const_for_fn)]
    170
        pub fn release(self) -> Vec<sucds::CompactVector> {
  • tracerr 0.3.0/src/lib.rs
    131
        // false positive: constant functions cannot evaluate destructors
    132
        #[allow(clippy::missing_const_for_fn)]
    133
        #[must_use]
    140
        // false positive: constant functions cannot evaluate destructors
    141
        #[allow(clippy::missing_const_for_fn)]
    142
        #[must_use]
  • trillium 0.2.3/src/state.rs
    88
        /// `'static`
    89
        #[allow(clippy::missing_const_for_fn)] // until const_fn stabilized
    90
        pub fn new(t: T) -> Self {
    96
    /// 'static. Alias for [`State::new`]
    97
    #[allow(clippy::missing_const_for_fn)] // until const_fn stabilized
    98
    pub fn state<T: Clone + Send + Sync + 'static>(t: T) -> State<T> {
  • tui-tree-widget 0.11.0/src/lib.rs
    234
        #[allow(clippy::missing_const_for_fn)]
    235
        #[must_use]
  • twilight-cache-any-backend 0.13.0/src/model/message.rs
    37
        /// Create a cached embed field from a given embed field and embed ID
    38
        #[allow(clippy::missing_const_for_fn)]
    39
        #[must_use]
    192
        /// Create a cached attachment from a given attachment and message ID
    193
        #[allow(clippy::missing_const_for_fn)]
    194
        #[must_use]
    228
        /// Create a cached message sticker from a given sticker and message ID
    229
        #[allow(clippy::missing_const_for_fn)]
    230
        #[must_use]
  • twilight-cache-any-backend 0.13.0/src/model/role.rs
    35
        /// Create a cached role from a given role and guild ID
    36
        #[allow(clippy::missing_const_for_fn)]
    37
        #[must_use]
  • twilight-cache-inmemory 0.15.0-rc.1/src/lib.rs
    115
        /// Create a new reference from a `DashMap` reference.
    116
        #[allow(clippy::missing_const_for_fn)]
    117
        fn new(inner: Ref<'a, K, V>) -> Self {
  • twilight-cache-inmemory 0.15.0-rc.1/src/model/member.rs
    102
        /// Construct a cached member from its [`twilight_model`] form.
    103
        #[allow(clippy::missing_const_for_fn)]
    104
        pub(crate) fn from_model(member: Member) -> Self {
    135
        // clippy: the contents of `fields` is consumed
    136
        #[allow(clippy::missing_const_for_fn, clippy::needless_pass_by_value)]
    137
        pub(crate) fn from_interaction_member(
  • twilight-cache-inmemory 0.15.0-rc.1/src/model/message.rs
    56
        /// Construct a cached message interaction from its [`twilight_model`] form.
    57
        #[allow(clippy::missing_const_for_fn)]
    58
        pub(crate) fn from_model(message_interaction: MessageInteraction) -> Self {
  • twilight-cache-inmemory 0.15.0-rc.1/src/model/presence.rs
    48
        /// Construct a cached presence from its [`twilight_model`] form.
    49
        #[allow(clippy::missing_const_for_fn)]
    50
        pub(crate) fn from_model(presence: Presence) -> Self {
  • twilight-cache-inmemory 0.15.0-rc.1/src/model/voice_state.rs
    92
        /// Construct a cached voice state from its [`twilight_model`] form.
    93
        #[allow(clippy::missing_const_for_fn)]
    94
        pub(crate) fn from_model(
  • twilight-embed-builder 0.11.1/src/author.rs
    26
        /// Build into an embed author.
    27
        #[allow(clippy::missing_const_for_fn)]
    28
        #[must_use = "should be used as part of an embed builder"]
    50
        #[allow(clippy::missing_const_for_fn)]
    51
        fn _name(mut self, name: String) -> Self {
  • twilight-embed-builder 0.11.1/src/field.rs
    40
        /// Build into an embed field.
    41
        #[allow(clippy::missing_const_for_fn)]
    42
        #[must_use = "should be used as part of an embed builder"]
  • twilight-embed-builder 0.11.1/src/footer.rs
    34
        /// Build into an embed footer.
    35
        #[allow(clippy::missing_const_for_fn)]
    36
        #[must_use = "should be used as part of an embed builder"]
  • twilight-gateway 0.15.0-rc.2/src/config.rs
    251
        /// This is necessary for sharing a TLS container across configurations.
    252
        #[allow(clippy::missing_const_for_fn)]
    253
        pub(crate) fn set_tls(&mut self, tls: TlsContainer) {
    306
        /// Consume the builder, constructing a shard.
    307
        #[allow(clippy::missing_const_for_fn)]
    308
        pub fn build(self) -> Config {
    328
        /// [`resume_gateway_url`]: twilight_model::gateway::payload::incoming::Ready::resume_gateway_url
    329
        #[allow(clippy::missing_const_for_fn)]
    330
        pub fn gateway_url(mut self, gateway_url: String) -> Self {
    358
        /// ```
    359
        #[allow(clippy::missing_const_for_fn)]
    360
        pub fn identify_properties(mut self, identify_properties: IdentifyProperties) -> Self {
    434
        /// ```
    435
        #[allow(clippy::missing_const_for_fn)]
    436
        pub fn presence(mut self, presence: UpdatePresencePayload) -> Self {
  • twilight-http 0.15.0-rc.1/src/client/builder.rs
    96
        /// created by [`ClientBuilder::build`].
    97
        #[allow(clippy::missing_const_for_fn)]
    98
        pub fn ratelimiter(mut self, ratelimiter: Option<Box<dyn Ratelimiter>>) -> Self {
  • twilight-http 0.15.0-rc.1/src/request/base.rs
    78
        /// Consume the builder, returning the built request.
    79
        #[allow(clippy::missing_const_for_fn)]
    80
        #[must_use = "request information is not useful on its own and must be acted on"]
    92
        /// Set the multipart form.
    93
        #[allow(clippy::missing_const_for_fn)]
    94
        pub fn form(mut self, form: Form) -> Self {
  • twilight-http 0.15.0-rc.1/src/request/guild/create_guild/builder.rs
    102
        /// Build the role fields.
    103
        #[allow(clippy::missing_const_for_fn)]
    104
        pub fn build(self) -> RoleFields {
    329
        /// Build the text fields.
    330
        #[allow(clippy::missing_const_for_fn)]
    331
        pub fn build(self) -> TextFields {
    501
        /// Build the voice fields.
    502
        #[allow(clippy::missing_const_for_fn)]
    503
        pub fn build(self) -> VoiceFields {
    695
        /// Build the list of channels.
    696
        #[allow(clippy::missing_const_for_fn)]
    697
        pub fn build(self) -> Vec<GuildChannelFields> {
  • twilight-http-ratelimiting 0.15.0-rc.1/src/headers.rs
    279
        /// Consume the ratelimit headers, returning the owned bucket ID.
    280
        #[allow(clippy::missing_const_for_fn)]
    281
        #[must_use]
  • twilight-model 0.15.0-rc.1/src/gateway/event/gateway.rs
    104
        /// Consume the deserializer, returning its components.
    105
        #[allow(clippy::missing_const_for_fn)]
    106
        pub fn into_parts(self) -> (u8, Option<u64>, Option<Cow<'a, str>>) {
  • twilight-model 0.15.0-rc.1/src/gateway/event/mod.rs
    432
        /// Consume the error, returning the original event.
    433
        #[allow(clippy::missing_const_for_fn)]
    434
        pub fn into_event(self) -> Event {
  • twilight-model 0.15.0-rc.1/src/gateway/payload/outgoing/request_guild_members.rs
    199
        /// ```
    200
        #[allow(clippy::missing_const_for_fn)]
    201
        pub fn user_id(self, user_id: Id<UserMarker>) -> RequestGuildMembers {
  • twilight-model 0.15.0-rc.1/src/guild/member.rs
    69
        /// Inject a guild ID to create a [`Member`].
    70
        #[allow(clippy::missing_const_for_fn)] // false positive
    71
        pub fn into_member(self, guild_id: Id<GuildMarker>) -> Member {
  • twilight-util 0.15.0-rc.1/src/builder/command.rs
    84
        /// Consume the builder, returning a [`Command`].
    85
        #[allow(clippy::missing_const_for_fn)]
    86
        #[must_use = "must be built into a command"]
    217
        /// Consume the builder, returning the built command option.
    218
        #[allow(clippy::missing_const_for_fn)]
    219
        #[must_use = "should be used in a command builder"]
    301
        /// Consume the builder, returning the built command option.
    302
        #[allow(clippy::missing_const_for_fn)]
    303
        #[must_use = "should be used in a command builder"]
    385
        /// Consume the builder, returning the built command option.
    386
        #[allow(clippy::missing_const_for_fn)]
    387
        #[must_use = "should be used in a command builder"]
    477
        /// Consume the builder, returning the built command option.
    478
        #[allow(clippy::missing_const_for_fn)]
    479
        #[must_use = "should be used in a command builder"]
  • twilight-util 0.15.0-rc.1/src/builder/embed/author.rs
    26
        /// Build into an embed author.
    27
        #[allow(clippy::missing_const_for_fn)]
    28
        #[must_use = "should be used as part of an embed builder"]
  • twilight-util 0.15.0-rc.1/src/builder/embed/field.rs
    36
        /// Build into an embed field.
    37
        #[allow(clippy::missing_const_for_fn)]
    38
        #[must_use = "should be used as part of an embed builder"]
  • twilight-util 0.15.0-rc.1/src/builder/embed/footer.rs
    30
        /// Build into an embed footer.
    31
        #[allow(clippy::missing_const_for_fn)]
    32
        #[must_use = "should be used as part of an embed builder"]
  • twilight-util 0.15.0-rc.1/src/builder/embed/mod.rs
    81
        /// Build this into an embed.
    82
        #[allow(clippy::missing_const_for_fn)]
    83
        #[must_use = "should be used as part of something like a message"]
    239
        /// ```
    240
        #[allow(clippy::missing_const_for_fn)]
    241
        pub fn image(mut self, image_source: ImageSource) -> Self {
  • twinstar 0.4.0/src/types/request.rs
    48
        #[allow(clippy::missing_const_for_fn)]
    49
        /// All of the path segments following the route to which this request was bound.
    94
        #[allow(clippy::missing_const_for_fn)]
    95
        pub fn certificate(&self) -> Option<&Certificate> {
  • twinstar 0.4.0/src/types/status.rs
    32
        #[allow(clippy::missing_const_for_fn)]
    33
        pub fn category(&self) -> StatusCategory {
  • twitch-helix 0.1.0/src/response.rs
    20
    	/// Turns this response into a `Result`
    21
    	#[allow(clippy::missing_const_for_fn)] // False positive, we can't use it because `T` might need to be dropped
    22
    	pub fn into_result(self) -> Result<ResponseData<T>, ResponseError> {
    47
    	/// Turns this response into a `Result`
    48
    	#[allow(clippy::missing_const_for_fn)] // False positive, we can't use it because `T` might need to be dropped
    49
    	pub fn into_result(self) -> Result<T, ResponseError> {
  • uefi 0.19.0/src/result/error.rs
    28
        /// Split this error into its inner status and error data
    29
        #[allow(clippy::missing_const_for_fn)]
    30
        pub fn split(self) -> (Status, Data) {
  • uefi 0.19.0/src/table/boot.rs
    2207
        /// [`Handle`].
    2208
        #[allow(clippy::missing_const_for_fn)] // Required until we bump the MSRV.
    2209
        #[must_use]
    2235
        /// Get an array of [`Handles`][Handle] that support the requested protocol.
    2236
        #[allow(clippy::missing_const_for_fn)] // Required until we bump the MSRV.
    2237
        #[must_use]
  • uefi 0.19.0/src/table/system.rs
    75
        /// pointing to other system-specific tables.
    76
        #[allow(clippy::missing_const_for_fn)] // Required until we bump the MSRV.
    77
        #[must_use]
  • utf8-locale 1.0.0/rust/detect.rs
    352
        /// Specify the environment variables to examine instead of [`mod@std::env`].
    353
        #[allow(clippy::missing_const_for_fn)]
    354
        #[inline]
    364
        /// [`LOCALE_VARIABLES`].
    365
        #[allow(clippy::missing_const_for_fn)]
    366
        #[inline]
    456
        /// Specify the environment variables to record.
    457
        #[allow(clippy::missing_const_for_fn)]
    458
        #[inline]
  • vibrato 0.3.3/src/dictionary/lexicon/map/posting.rs
    49
        #[allow(clippy::missing_const_for_fn)]
    50
        pub fn build(self) -> Postings {
  • vru-noise 1.5.0/src/symmetric_state.rs
    52
    {
    53
        #[allow(clippy::missing_const_for_fn)]
    54
        fn increase(self) -> Key<C, <N as Add<typenum::U1>>::Output> {
  • vsmtp-rule-engine 2.0.1-rc.4/src/sub_domain_hierarchy.rs
    230
        /// build the sub domain hierarchy.
    231
        #[allow(clippy::missing_const_for_fn)] // false positive.
    232
        #[must_use]
    355
        /// Build the directive set for the given domain.
    356
        #[allow(clippy::missing_const_for_fn)] // false positive.
    357
        #[must_use]
  • watchexec 2.1.0/src/signal/process.rs
    132
    	#[cfg(unix)]
    133
    	#[allow(clippy::missing_const_for_fn)]
    134
    	#[must_use]
  • web-audio-api 0.28.0/src/context/offline.rs
    121
        // false positive: OfflineAudioContext is not const
    122
        #[allow(clippy::missing_const_for_fn, clippy::unused_self)]
    123
        #[must_use]
  • web-audio-api 0.28.0/src/context/online.rs
    355
        /// * For a `BackendSpecificError`
    356
        #[allow(clippy::missing_const_for_fn, clippy::unused_self)]
    357
        pub fn suspend_sync(&self) {
    374
        /// * For a `BackendSpecificError`
    375
        #[allow(clippy::missing_const_for_fn, clippy::unused_self)]
    376
        pub fn resume_sync(&self) {
    392
        /// Will panic when this function is called multiple times
    393
        #[allow(clippy::missing_const_for_fn, clippy::unused_self)]
    394
        pub fn close_sync(&self) {
  • web-audio-api 0.28.0/src/node/waveshaper.rs
    399
        /// returns an `WaveShaperRenderer` instance
    400
        #[allow(clippy::missing_const_for_fn)]
    401
        fn new(config: RendererConfig) -> Self {
  • weresocool_core 1.0.43/src/generation/timed_op.rs
    61
        #[allow(clippy::missing_const_for_fn)]
    62
        pub fn to_point_op(&self) -> PointOp {
  • wow_srp 0.5.3/src/tbc_header/mod.rs
    323
        /// like if you don't want locking encryption to also lock decryption in a mutex.
    324
        #[allow(clippy::missing_const_for_fn)] // Clippy does not consider `self` arg
    325
        pub fn split(self) -> (EncrypterHalf, DecrypterHalf) {
  • wow_srp 0.5.3/src/vanilla_header/mod.rs
    324
        /// like if you don't want locking encryption to also lock decryption in a mutex.
    325
        #[allow(clippy::missing_const_for_fn)] // Clippy does not consider `self` arg
    326
        pub fn split(self) -> (EncrypterHalf, DecrypterHalf) {
  • wow_srp 0.5.3/src/wrath_header/mod.rs
    242
        /// like if you don't want locking encryption to also lock decryption in a mutex.
    243
        #[allow(clippy::missing_const_for_fn)] // Clippy does not consider `self` arg
    244
        pub fn split(self) -> (ClientEncrypterHalf, ClientDecrypterHalf) {
    355
        /// like if you don't want locking encryption to also lock decryption in a mutex.
    356
        #[allow(clippy::missing_const_for_fn)] // Clippy does not consider `self` arg
    357
        pub fn split(self) -> (ServerEncrypterHalf, ServerDecrypterHalf) {
  • xlang_abi 0.2.0/src/alloc.rs
    166
        clippy::checked_conversions,
    167
        clippy::missing_const_for_fn,
    168
        clippy::missing_panics_doc
  • xlang_abi 0.2.0/src/io.rs
    367
        /// Obtains the inner `Read`er contained by `self`
    368
        #[allow(clippy::missing_const_for_fn)]
    369
        pub fn into_inner(self) -> R {
    575
        /// Obtains the inner `Seek`er contained by `self`
    576
        #[allow(clippy::missing_const_for_fn)]
    577
        pub fn into_inner(self) -> S {
    780
        /// Obtains the inner `ReadSeek`er contained by `self`\
    781
        #[allow(clippy::missing_const_for_fn)]
    782
        pub fn into_inner(self) -> T {
    1014
        /// Returns the value contained within `self`.
    1015
        #[allow(clippy::missing_const_for_fn)]
    1016
        pub fn into_inner(self) -> W {
  • xlang_abi 0.2.0/src/option.rs
    72
        /// panics if self is `None`
    73
        #[allow(clippy::missing_const_for_fn)]
    74
        #[track_caller]
    82
        #[allow(clippy::missing_const_for_fn)]
    83
        /// Unwraps self into a value of type `T` if it is `Some`.
    95
        #[allow(clippy::missing_const_for_fn)]
    96
        /// Unwraps self into a value of type `T` if it is `Some`, or returns the default value otherwise.
    104
        /// Unwraps self into a value of type `T` if it is `Some`, or returns the result of calling `op` otherwise.
    105
        #[allow(clippy::missing_const_for_fn)]
    106
        pub fn unwrap_or_else<F: FnOnce() -> T>(self, op: F) -> T {
  • xlang_interface 0.1.0/src/lib.rs
    88
    #[no_mangle]
    89
    #[allow(clippy::missing_const_for_fn)] // const extern fn is unstable
    90
    pub extern "C" fn xlang_get_version() -> StringView<'static> {
  • xlib-display-server 0.1.0/src/xwrap.rs
    56
    // see issue #64926 <https://github.com/rust-lang/rust/issues/64926> for more information.
    57
    #[allow(clippy::missing_const_for_fn)]
    58
    pub extern "C" fn on_error_from_xlib(_: *mut xlib::Display, er: *mut xlib::XErrorEvent) -> c_int {
  • yata 0.6.1/src/methods/renko.rs
    194
    	#[inline]
    195
    	#[allow(clippy::missing_const_for_fn)]
    196
    	pub fn is_rising(&self) -> bool {
    202
    	#[inline]
    203
    	#[allow(clippy::missing_const_for_fn)]
    204
    	pub fn is_falling(&self) -> bool {
  • yelp-fusion-rs 0.1.1/src/endpoints/business/search/business_search_payload.rs
    111
        /// `open_at` are set. Only one of the other can be set.
    112
        #[allow(clippy::too_many_arguments, clippy::missing_const_for_fn)]
    113
        pub fn new(
  • abi_stable 0.11.1/src/external_types/crossbeam_channel.rs
    3
    //! channel types.
    4
    #![allow(clippy::missing_const_for_fn)]
  • abi_stable 0.11.1/src/library/c_abi_testing/functions.rs
    1
    #![allow(clippy::missing_const_for_fn)]
  • abi_stable 0.11.1/src/library/errors.rs
    1
    #![allow(clippy::missing_const_for_fn)]
  • abi_stable 0.11.1/src/multikey_map.rs
    1
    #![allow(clippy::missing_const_for_fn)]
  • agui_core 0.3.0/src/lib.rs
    9
    #![allow(clippy::module_name_repetitions)]
    10
    #![allow(clippy::missing_const_for_fn)]
    11
    #![warn(clippy::clone_on_ref_ptr)]
  • alloc-compose 0.5.0/src/lib.rs
    63
    mod intrinsics {
    64
        #![allow(clippy::missing_const_for_fn, clippy::inline_always)]
  • aragog 0.17.0/src/db/transaction/transaction_output.rs
    1
    #![allow(clippy::missing_const_for_fn)]
    2
    use crate::Error;
  • async-graphql 5.0.5/src/lib.rs
    170
    #![allow(clippy::use_self)]
    171
    #![allow(clippy::missing_const_for_fn)]
    172
    #![allow(clippy::needless_borrow)]
  • atuin 12.0.0/src/main.rs
    1
    #![warn(clippy::pedantic, clippy::nursery)]
    2
    #![allow(clippy::use_self, clippy::missing_const_for_fn)] // not 100% reliable
  • beacon-verifier 0.3.3/src/main.rs
    3
    	clippy::unused_self,
    4
    	clippy::missing_const_for_fn, // TODO: Remove when #![feature(const_precise_live_drops)] gets stabilized
    5
    	clippy::struct_excessive_bools
  • bevy_diagnostic_renet 0.1.0/src/lib.rs
    13
    #![allow(
    14
        clippy::missing_const_for_fn,
    15
        clippy::cast_precision_loss,
  • bevy_diagnostic_visualizer 0.1.0/src/lib.rs
    13
    #![allow(
    14
        clippy::missing_const_for_fn,
    15
        clippy::cast_precision_loss,
  • bevy_prototype_lyon 0.7.2/src/lib.rs
    23
    #![allow(clippy::forget_non_drop)]
    24
    #![allow(clippy::missing_const_for_fn)]
  • bounded-static 0.4.0/src/lib.rs
    148
    #![warn(clippy::all, clippy::pedantic, clippy::nursery, rust_2018_idioms)]
    149
    #![allow(clippy::missing_const_for_fn)]
    150
    #![forbid(unsafe_code)]
  • contack 0.9.2/src/lib.rs
    8
        clippy::wildcard_imports,
    9
        clippy::missing_const_for_fn,
    10
        clippy::wrong_self_convention,
  • daml-grpc 0.2.2/src/lib.rs
    47
        clippy::missing_errors_doc,
    48
        clippy::missing_const_for_fn,
    49
        clippy::used_underscore_binding,
  • daml-json 0.2.2/src/lib.rs
    21
        clippy::future_not_send,
    22
        clippy::missing_const_for_fn,
    23
        clippy::match_wildcard_for_single_variants,
  • daml-lf 0.2.2/src/lib.rs
    84
        clippy::must_use_candidate,
    85
        clippy::missing_const_for_fn,
    86
        clippy::missing_errors_doc
  • daml-util 0.2.2/src/lib.rs
    10
        clippy::module_name_repetitions,
    11
        clippy::missing_const_for_fn,
    12
        clippy::return_self_not_must_use
  • decompress 0.3.0/src/lib.rs
    19
    //!
    20
    #![allow(clippy::missing_const_for_fn)]
    21
    #![allow(clippy::module_name_repetitions)]
  • deterministic-pgp-keys 0.3.0/src/pgp/mod.rs
    20
    )]
    21
    #![allow(clippy::missing_const_for_fn, clippy::use_self, dead_code)]
  • dircmp 0.2.0/src/lib.rs
    7
    //!
    8
    #![allow(clippy::missing_const_for_fn)]
    9
    use regex::RegexSet;
  • divrem 1.0.0/benches/lib.rs
    4
    #![warn(clippy::nursery)]
    5
    #![allow(clippy::missing_const_for_fn)]
    6
    #![feature(test)]
  • divrem 1.0.0/tests/lib.rs
    4
    #![warn(clippy::nursery)]
    5
    #![allow(clippy::missing_const_for_fn)]
    6
    #![feature(concat_idents)]
  • dot4ch 3.0.0/src/lib.rs
    43
    #![allow(
    44
        clippy::missing_const_for_fn,
    45
        clippy::must_use_candidate,
  • dwm-status 1.8.1/src/lib.rs
    23
    #![allow(
    24
        clippy::missing_const_for_fn, // seems to produce false positives
    25
        clippy::missing_errors_doc,
  • eosio_cdt_sys 0.3.0/src/lib.rs
    20
        clippy::missing_inline_in_public_items,
    21
        clippy::missing_const_for_fn,
    22
        clippy::op_ref,
  • epub 2.0.0/src/lib.rs
    8
        clippy::uninlined_format_args,
    9
        clippy::missing_const_for_fn,
    10
    )]
  • exa 0.10.1/src/main.rs
    13
    #![allow(clippy::match_same_arms)]
    14
    #![allow(clippy::missing_const_for_fn)]
    15
    #![allow(clippy::missing_errors_doc)]
  • exonum 1.0.0/src/lib.rs
    93
        // Too much work to fix.
    94
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    95
    )]
  • exonum-cli 1.0.0/src/lib.rs
    129
        // Too much work to fix.
    130
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    131
    )]
  • exonum-crypto 1.0.0/src/lib.rs
    38
        // Too much work to fix.
    39
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    40
    )]
  • exonum-explorer-service 1.0.0/src/lib.rs
    77
        // Too much work to fix.
    78
        clippy::missing_errors_doc, clippy::missing_const_for_fn,
    79
        // False positive: WebSocket
  • exonum-keys 1.0.0/src/lib.rs
    53
        // Too much work to fix.
    54
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    55
    )]
  • exonum-merkledb 1.0.0/src/lib.rs
    158
        // Too much work to fix.
    159
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    160
    )]
  • exonum-middleware-service 1.0.0/src/lib.rs
    51
        // Too much work to fix.
    52
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    53
    )]
  • exonum-node 1.0.0/src/lib.rs
    53
        // Too much work to fix.
    54
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    55
    )]
  • exonum-rust-runtime 1.0.0/src/lib.rs
    318
        // Too much work to fix.
    319
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    320
    )]
  • exonum-supervisor 1.0.0/src/lib.rs
    144
        // Too much work to fix.
    145
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    146
    )]
  • exonum-testkit 1.0.0/src/lib.rs
    110
        // Too much work to fix.
    111
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    112
    )]
  • exonum-time 1.0.0/src/lib.rs
    114
        // Too much work to fix.
    115
        clippy::missing_errors_doc, clippy::missing_const_for_fn
    116
    )]
  • fast-float 0.2.0/src/lib.rs
    40
        clippy::cast_precision_loss,
    41
        clippy::missing_const_for_fn,
    42
        clippy::use_self,
  • fcmp 0.3.1/src/lib.rs
    98
    #![allow(clippy::wildcard_imports)]
    99
    #![allow(clippy::missing_const_for_fn)]
    100
    #![allow(clippy::shadow_unrelated)] // Does not work correctly.
  • feroxfuzz 1.0.0-rc.8/src/fuzzers/async_builder.rs
    8
    // isn't possible with const)
    9
    #![allow(clippy::missing_const_for_fn)]
  • feroxfuzz 1.0.0-rc.8/src/fuzzers/blocking_builder.rs
    8
    // isn't possible with const)
    9
    #![allow(clippy::missing_const_for_fn)]
    10
    use std::marker::PhantomData;
  • frankenstein 0.22.0/src/lib.rs
    3
        clippy::large_enum_variant,
    4
        clippy::missing_const_for_fn,
    5
        clippy::missing_errors_doc,
  • gedcomx 0.1.3/src/lib.rs
    118
    #![allow(clippy::must_use_candidate)]
    119
    #![allow(clippy::missing_const_for_fn)]
  • gitui 0.22.1/src/main.rs
    22
    // high number of false positives on nightly (as of Oct 2022 with 1.66.0-nightly)
    23
    #![allow(clippy::missing_const_for_fn)]
  • grass 0.12.2/src/lib.rs
    61
        clippy::missing_errors_doc,
    62
        clippy::missing_const_for_fn,
    63
        clippy::multiple_crate_versions,
  • grass_compiler 0.12.2/src/lib.rs
    61
        clippy::missing_errors_doc,
    62
        clippy::missing_const_for_fn,
    63
        clippy::multiple_crate_versions,
  • iced_aw 0.3.0/src/lib.rs
    43
        clippy::borrowed_box,
    44
        clippy::missing_const_for_fn,
    45
        clippy::too_many_lines
  • interactive-actions 1.0.0/src/lib.rs
    79
    #![allow(clippy::use_self)]
    80
    #![allow(clippy::missing_const_for_fn)]
  • jrsonnet-interner 0.5.0-pre6/src/lib.rs
    6
    #![warn(clippy::pedantic, clippy::nursery)]
    7
    #![allow(clippy::missing_const_for_fn)]
    8
    use std::{
  • matterdb 1.2.0/src/lib.rs
    104
        // Too much work to fix.
    105
        clippy::missing_errors_doc, clippy::missing_const_for_fn, clippy::missing_panics_doc,
    106
        // Seems should be fixed in `thiserror` crate.
  • metaldb 1.0.0/src/lib.rs
    103
        // Too much work to fix.
    104
        clippy::missing_errors_doc, clippy::missing_const_for_fn, clippy::missing_panics_doc,
    105
        // Seems should be fixed in `thiserror` crate.
  • mm0_util 0.1.4/src/lib.rs
    42
      clippy::map_err_ignore,
    43
      clippy::missing_const_for_fn,
    44
      clippy::missing_errors_doc,
  • mm0b_parser 0.1.4/src/lib.rs
    42
      clippy::map_err_ignore,
    43
      clippy::missing_const_for_fn,
    44
      clippy::missing_errors_doc,
  • mprocs-vt100 0.1.1/src/lib.rs
    41
    #![allow(clippy::cognitive_complexity)]
    42
    #![allow(clippy::missing_const_for_fn)]
    43
    #![allow(clippy::similar_names)]
  • nng 1.0.1/src/lib.rs
    160
    #![allow(clippy::must_use_candidate)]
    161
    #![allow(clippy::missing_const_for_fn)]
    162
    #![allow(clippy::option_if_let_else)] // Semantically backwards when used with non-zero error codes
  • nonogrid 0.7.3/examples/spoj/main.rs
    1
    #![allow(clippy::missing_const_for_fn)]
    2
    #![allow(clippy::use_self)]
  • ohmysmtp 0.1.1/src/lib.rs
    50
    )]
    51
    #![allow(clippy::missing_const_for_fn)]
  • pgp 0.9.0/src/lib.rs
    21
    )]
    22
    #![allow(clippy::missing_const_for_fn, clippy::use_self)]
  • php_serde 0.6.0/src/lib.rs
    244
        clippy::future_not_send,
    245
        clippy::missing_const_for_fn,
    246
        clippy::type_complexity,
  • pty-process 0.2.0/src/lib.rs
    53
    #![allow(clippy::cognitive_complexity)]
    54
    #![allow(clippy::missing_const_for_fn)]
    55
    #![allow(clippy::similar_names)]
  • pyxel-core 1.9.11/src/lib.rs
    11
        clippy::match_same_arms,
    12
        clippy::missing_const_for_fn,
    13
        clippy::missing_panics_doc,
  • qcs-api-client-common 0.3.0/src/configuration/builder.rs
    43
    impl ClientConfigurationBuilder {
    44
        #![allow(clippy::missing_const_for_fn)]
  • ranged_integers 0.7.0/src/tests.rs
    1
    #![allow(clippy::missing_const_for_fn)]
    2
    #![allow(clippy::cognitive_complexity)]
  • rav1e 0.6.3/src/capi.rs
    20
    // const extern fns are unstable
    21
    #![allow(clippy::missing_const_for_fn)]
  • rbw 1.4.3/src/bin/rbw/main.rs
    6
    #![allow(clippy::cognitive_complexity)]
    7
    #![allow(clippy::missing_const_for_fn)]
    8
    #![allow(clippy::similar_names)]
  • rbw 1.4.3/src/bin/rbw-agent/main.rs
    6
    #![allow(clippy::cognitive_complexity)]
    7
    #![allow(clippy::missing_const_for_fn)]
    8
    #![allow(clippy::similar_names)]
  • rbw 1.4.3/src/lib.rs
    6
    #![allow(clippy::cognitive_complexity)]
    7
    #![allow(clippy::missing_const_for_fn)]
    8
    #![allow(clippy::similar_names)]
  • rlr 0.2.0/src/lib.rs
    19
        clippy::missing_errors_doc,
    20
        clippy::missing_const_for_fn
    21
    )]
  • rpi-led-matrix-sys 0.2.1/src/c_stubs.rs
    2
    #![allow(clippy::wildcard_imports)]
    3
    #![allow(clippy::missing_const_for_fn)]
    4
    use crate::*;
  • rta-for-fps-lib 0.2.0/src/iterators/curve/delta.rs
    37
        pub fn overlap(self) -> Option<Window<Overlap<S, D>>> {
    38
            #![allow(clippy::missing_const_for_fn)] // false positive
    39
            match self {
  • ruint 1.7.0/src/bit_arr.rs
    1
    // TODO: Forward `const fn` as `const fn`.
    2
    #![allow(clippy::missing_const_for_fn)]
  • rustwrap 1.0.4/src/lib.rs
    9
    #![warn(missing_docs)] // uncomment for docs
    10
    #![allow(clippy::missing_const_for_fn)]
    11
    mod console;
  • serde_at 0.18.0/src/lib.rs
    9
    #![allow(clippy::missing_errors_doc)]
    10
    #![allow(clippy::missing_const_for_fn)]
    11
    #![cfg_attr(not(any(test, feature = "std")), no_std)]
  • spdx-rs 0.5.2/src/lib.rs
    10
        clippy::non_ascii_literal,
    11
        clippy::missing_const_for_fn,
    12
        clippy::use_self
  • spdx-toolkit 0.3.1/src/lib.rs
    10
        clippy::non_ascii_literal,
    11
        clippy::missing_const_for_fn
    12
    )]
  • tbot 0.6.7/src/lib.rs
    68
    // not going to fix any clippy lints for v0.6.x, they're fixed for v0.7
    69
    #![allow(clippy::missing_const_for_fn, clippy::option_if_let_else)]
    70
    #![doc(
  • teleterm 0.2.0/src/main.rs
    5
    #![allow(clippy::match_same_arms)]
    6
    #![allow(clippy::missing_const_for_fn)]
    7
    #![allow(clippy::multiple_crate_versions)]
  • textmode 0.3.0/src/lib.rs
    71
    #![allow(clippy::cognitive_complexity)]
    72
    #![allow(clippy::missing_const_for_fn)]
    73
    #![allow(clippy::similar_names)]
  • time 0.3.17/src/sys/local_offset_at/mod.rs
    3
    #![allow(clippy::missing_const_for_fn)]
  • time-macros 0.2.6/src/lib.rs
    31
    #![allow(
    32
        clippy::missing_const_for_fn, // useless in proc macro
    33
        clippy::redundant_pub_crate, // suggests bad style
  • time-macros-impl 0.1.2/src/lib.rs
    40
        clippy::inline_always,
    41
        clippy::missing_const_for_fn,
    42
        clippy::missing_errors_doc,
  • tokio-pty-process-stream 0.2.0/src/lib.rs
    146
    #![warn(clippy::nursery)]
    147
    #![allow(clippy::missing_const_for_fn)]
    148
    #![allow(clippy::multiple_crate_versions)]
  • trippy 0.6.0/src/lib.rs
    5
        clippy::option_if_let_else,
    6
        clippy::missing_const_for_fn,
    7
        clippy::cast_possible_truncation,
  • trippy 0.6.0/src/main.rs
    4
        clippy::option_if_let_else,
    5
        clippy::missing_const_for_fn,
    6
        clippy::cast_precision_loss,
  • ttyrec 0.3.3/src/lib.rs
    19
    #![allow(clippy::cognitive_complexity)]
    20
    #![allow(clippy::missing_const_for_fn)]
    21
    #![allow(clippy::similar_names)]
  • ttyrec-bin 0.1.3/src/bin/ttyplay/main.rs
    6
    #![allow(clippy::cognitive_complexity)]
    7
    #![allow(clippy::missing_const_for_fn)]
    8
    #![allow(clippy::similar_names)]
  • ttyrec-bin 0.1.3/src/bin/ttyrec/main.rs
    6
    #![allow(clippy::cognitive_complexity)]
    7
    #![allow(clippy::missing_const_for_fn)]
    8
    #![allow(clippy::similar_names)]
  • twitchchat 0.14.8/src/lib.rs
    1
    #![allow(
    2
        clippy::missing_const_for_fn,
    3
        clippy::redundant_pub_crate,
  • udf 0.5.1/src/lib.rs
    106
    #![allow(
    107
        clippy::missing_const_for_fn,
    108
        // clippy::missing_panics_doc,
  • udf-macros 0.5.1/src/lib.rs
    8
    #![allow(
    9
        clippy::missing_const_for_fn,
    10
        clippy::missing_panics_doc,
  • vsmtp-common 2.0.1-rc.4/src/lib.rs
    30
    //
    31
    #![allow(clippy::missing_const_for_fn)] // see https://github.com/rust-lang/rust-clippy/issues/9271
  • vsmtp-config 2.0.1-rc.4/src/lib.rs
    54
    //
    55
    #![allow(clippy::missing_const_for_fn)] // see https://github.com/rust-lang/rust-clippy/issues/9271
  • vt100 0.15.1/src/lib.rs
    41
    #![allow(clippy::cognitive_complexity)]
    42
    #![allow(clippy::missing_const_for_fn)]
    43
    #![allow(clippy::similar_names)]
  • watchexec-cli 1.21.0/src/lib.rs
    1
    #![deny(rust_2018_idioms)]
    2
    #![allow(clippy::missing_const_for_fn, clippy::future_not_send)]
  • wow_login_messages 0.2.0/src/lib.rs
    97
        clippy::upper_case_acronyms,
    98
        clippy::missing_const_for_fn,
    99
        clippy::clone_on_copy
  • xlang_abi 0.2.0/src/lib.rs
    4
        clippy::needless_borrow,
    5
        clippy::missing_const_for_fn,
    6
        clippy::type_repetition_in_bounds
  • yapay-sdk-rust 0.3.3/src/lib.rs
    83
    #![allow(
    84
        clippy::missing_const_for_fn,
    85
        clippy::missing_errors_doc,
  • zspell 0.3.3/src/lib.rs
    97
    #![allow(clippy::module_name_repetitions)]
    98
    #![allow(clippy::missing_const_for_fn)]
    99
    #![allow(clippy::derive_partial_eq_without_eq)]