107 |
#[allow(clippy::assertions_on_constants)]
|
108 |
while limit.map(|limit| sent_total <= limit).unwrap_or(true)
|
319 |
#[test]
|
320 |
#[allow(clippy::assertions_on_constants)]
|
321 |
fn sprite_sheet_prefab() {
|
6 |
#[test]
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const fn returns_expected_value() {
|
7 |
#[test]
|
8 |
#[allow(clippy::assertions_on_constants, clippy::items_after_statements)]
|
9 |
fn returns_expected_iterator() {
|
6 |
#[test]
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const fn returns_expected_value() {
|
6 |
#[test]
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const fn returns_expected_value() {
|
7 |
#[test]
|
8 |
#[allow(clippy::assertions_on_constants, clippy::items_after_statements)]
|
9 |
fn returns_expected_iterator() {
|
6 |
#[test]
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const fn returns_expected_value() {
|
6 |
#[test]
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const fn returns_expected_value() {
|
7 |
#[test]
|
8 |
#[allow(clippy::assertions_on_constants, clippy::items_after_statements)]
|
9 |
fn returns_expected_iterator() {
|
6 |
#[test]
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const fn returns_expected_value() {
|
6 |
#[test]
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const fn returns_expected_value() {
|
467 |
#[test]
|
468 |
#[allow(clippy::assertions_on_constants)]
|
469 |
fn test_unaligned_bit_chunk_iterator() {
|
54 |
/// which notifier is provided.
|
55 |
#[allow(clippy::assertions_on_constants)]
|
56 |
pub(super) fn new(notifier: WakeSource) -> Self {
|
30 |
/// in the binary search but was found to be slower than the tree-of-adders.
|
31 |
#[allow(clippy::assertions_on_constants)]
|
32 |
pub(crate) fn find_bit<F: FnOnce(usize) -> usize>(value: usize, rank_fn: F) -> usize {
|
107 |
/// ```
|
108 |
#[allow(clippy::assertions_on_constants)]
|
109 |
const fn sum_masks() -> [usize; usize::BITS.trailing_zeros() as usize] {
|
21 |
impl BctCurlP {
|
22 |
#[allow(clippy::assertions_on_constants)]
|
23 |
pub(crate) fn new(rounds: CurlPRounds) -> Self {
|
60 |
#[test]
|
61 |
#[allow(clippy::assertions_on_constants)]
|
62 |
fn test_always_valid_enum() {
|
146 |
#[allow(clippy::assertions_on_constants)]
|
147 |
fn assert_forged_reference<T>(result: Result<T, Error>) {
|
154 |
#[allow(clippy::assertions_on_constants)]
|
155 |
fn assert_invalid_access<T: std::fmt::Debug>(result: Result<T, Error>, expecting: AccessRights) {
|
325 |
impl ::std::fmt::Debug for PointerBlock {
|
326 |
#[allow(clippy::assertions_on_constants)]
|
327 |
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
85 |
#[cfg(test)]
|
86 |
#[allow(clippy::assertions_on_constants)] // used by sanity checks around `SAMPLE_SIZE`
|
87 |
mod tests {
|
143 |
#[allow(clippy::assertions_on_constants)]
|
144 |
fn assert_forged_reference<T>(result: Result<T, Error>) {
|
151 |
#[allow(clippy::assertions_on_constants)]
|
152 |
fn assert_invalid_access<T: std::fmt::Debug>(result: Result<T, Error>, expecting: AccessRights) {
|
193 |
impl ::std::fmt::Debug for PointerBlock {
|
194 |
#[allow(clippy::assertions_on_constants)]
|
195 |
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
167 |
#[test]
|
168 |
#[allow(clippy::assertions_on_constants)]
|
169 |
fn test_sysvar_can_hold_all_active_blockhashes() {
|
274 |
const PRIMER_COUNT_TARGET_PERCENTILE: u64 = 85;
|
275 |
#[allow(clippy::assertions_on_constants)]
|
276 |
{
|
142 |
#[test]
|
143 |
#[allow(clippy::assertions_on_constants)]
|
144 |
fn test_usage_within_a_function() {
|
962 |
#[test]
|
963 |
#[allow(clippy::assertions_on_constants)]
|
964 |
fn frac_missing_right_zeroes() {
|
972 |
#[test]
|
973 |
#[allow(clippy::assertions_on_constants)]
|
974 |
fn frac_including_left_zeroes() -> Result<(), Box<dyn std::error::Error>> {
|
985 |
#[test]
|
986 |
#[allow(clippy::assertions_on_constants)]
|
987 |
fn frac_out_of_range() -> Result<(), Box<dyn std::error::Error>> {
|
101 |
#[test]
|
102 |
#[allow(clippy::assertions_on_constants)]
|
103 |
fn frac_out_of_range() -> Result<(), Box<dyn std::error::Error>> {
|
123 |
#[test]
|
124 |
#[allow(clippy::assertions_on_constants)]
|
125 |
fn integer_out_of_range() -> Result<(), Box<dyn std::error::Error>> {
|
145 |
#[test]
|
146 |
#[allow(clippy::assertions_on_constants)]
|
147 |
fn negative() -> Result<(), Box<dyn std::error::Error>> {
|
9 |
#[inline]
|
10 |
#[allow(clippy::assertions_on_constants)]
|
11 |
unsafe fn take_heap(p: *mut roaring_bitmap_t) -> Self {
|
64 |
impl Drop for Bitmap {
|
65 |
#[allow(clippy::assertions_on_constants)]
|
66 |
fn drop(&mut self) {
|
45 |
#[allow(clippy::assertions_on_constants)]
|
46 |
const _: () = assert!(2 * CRUM_CHUNK_SIZE <= SWAP_SIZE);
|
10 |
#[allow(clippy::assertions_on_constants)]
|
11 |
const _: () = assert!(
|
129 |
}
|
130 |
#[allow(clippy::assertions_on_constants)]
|
131 |
PointState::Init => {
|
622 |
};
|
623 |
#[allow(clippy::assertions_on_constants)]
|
624 |
if ((u.x - v.x).abs() < 1e-6 && (u.y - v.y).abs() < 1e-6)
|
168 |
#[test]
|
169 |
#[allow(clippy::assertions_on_constants)]
|
170 |
fn test_sysvar_can_hold_all_active_blockhashes() {
|
168 |
#[test]
|
169 |
#[allow(clippy::assertions_on_constants)]
|
170 |
fn test_sysvar_can_hold_all_active_blockhashes() {
|
21 |
#[test]
|
22 |
#[allow(clippy::assertions_on_constants)]
|
23 |
fn struct_with_numbers_static() {
|
25 |
#[test]
|
26 |
#[allow(clippy::assertions_on_constants)]
|
27 |
fn struct_with_numbers_static() {
|
18 |
#[test]
|
19 |
#[allow(clippy::assertions_on_constants)]
|
20 |
fn enum_static() {
|
20 |
#[test]
|
21 |
#[allow(clippy::assertions_on_constants)]
|
22 |
fn struct_1_static() {
|
20 |
#[test]
|
21 |
#[allow(clippy::assertions_on_constants)]
|
22 |
fn struct_2_static() {
|
113 |
#[allow(clippy::assertions_on_constants)]
|
114 |
#[test]
|
544 |
#[allow(clippy::assertions_on_constants)]
|
545 |
pub fn log_open_options() -> log::OpenOptions {
|
239 |
#[allow(clippy::assertions_on_constants)]
|
240 |
const _: () = assert!(LANES == RATE_LANES + 2 * CAPACITY_LANES);
|
188 |
#[allow(clippy::assertions_on_constants)]
|
189 |
fn setup_different_sized_fec_blocks(
|
167 |
#[test]
|
168 |
#[allow(clippy::assertions_on_constants)]
|
169 |
fn test_sysvar_can_hold_all_active_blockhashes() {
|
465 |
#[test]
|
466 |
#[allow(clippy::assertions_on_constants)]
|
467 |
fn test_age_sanity() {
|
257 |
#[test]
|
258 |
#[allow(clippy::assertions_on_constants)] // This is the point of the test.
|
259 |
fn sync_worker_id() {
|
264 |
#[test]
|
265 |
#[allow(clippy::assertions_on_constants)] // This is the point of the test.
|
266 |
fn max_threads() {
|
298 |
#[allow(clippy::assertions_on_constants)]
|
299 |
const _: () = assert!(ral::SOLE_INSTANCE == 0u8);
|
255 |
#[allow(clippy::assertions_on_constants)]
|
256 |
{
|
276 |
#[allow(clippy::assertions_on_constants)]
|
277 |
{
|
21 |
impl BctCurlP {
|
22 |
#[allow(clippy::assertions_on_constants)]
|
23 |
pub(crate) fn new() -> Self {
|
1 |
#[allow(unused_imports, clippy::unit_arg, clippy::assertions_on_constants)]
|
2 |
#[cfg(test)]
|
109 |
#[inline]
|
110 |
#[allow(clippy::assertions_on_constants)]
|
111 |
pub unsafe fn read_unchecked<V>(&self) -> V {
|
191 |
#[inline]
|
192 |
#[allow(clippy::assertions_on_constants)]
|
193 |
pub unsafe fn step_by_unchecked(&mut self, count: usize) {
|
204 |
#[inline]
|
205 |
#[allow(clippy::assertions_on_constants)]
|
206 |
pub unsafe fn step_unchecked(&mut self) {
|
420 |
#[test]
|
421 |
#[allow(clippy::assertions_on_constants)]
|
422 |
fn unknown_protocol_string() {
|
30 |
#[allow(clippy::bad_bit_mask)]
|
31 |
#[allow(clippy::assertions_on_constants)]
|
32 |
fn test_branchless_pow_of_2_or_zero() {
|
35 |
impl<'a, I: for<'b> ByteReader<'b>> ReaderCore<'a, I> {
|
36 |
#[allow(clippy::assertions_on_constants)]
|
37 |
pub fn new(ring: RingLzWriter<'a, Sink, Output>, inner: I, fse_core: &'a mut FseCore) -> Self {
|
52 |
impl History {
|
53 |
#[allow(clippy::assertions_on_constants)]
|
54 |
#[inline(always)]
|
386 |
#[allow(clippy::assertions_on_constants)]
|
387 |
#[test]
|
411 |
#[allow(clippy::assertions_on_constants)]
|
412 |
#[test]
|
436 |
#[allow(clippy::assertions_on_constants)]
|
437 |
#[test]
|
462 |
#[allow(clippy::assertions_on_constants)]
|
463 |
#[test]
|
136 |
#[allow(clippy::assertions_on_constants)]
|
137 |
pub fn store_v2(&self, dst: &mut [u8]) -> u32 {
|
37 |
impl<'a, O, T: RingBlock> RingShortWriter<'a, O, T> {
|
38 |
#[allow(clippy::assertions_on_constants)]
|
39 |
pub fn new(ring: Ring<'a, T>, inner: O) -> Self {
|
74 |
#[allow(clippy::assertions_on_constants)]
|
75 |
#[inline(always)]
|
176 |
#[test]
|
177 |
#[allow(clippy::assertions_on_constants)] //these are used as safe guards against changes
|
178 |
fn test_values() {
|
113 |
/// Get the address range of the block's line mark table.
|
114 |
#[allow(clippy::assertions_on_constants)]
|
115 |
#[inline(always)]
|
197 |
/// Get the range of lines within the block.
|
198 |
#[allow(clippy::assertions_on_constants)]
|
199 |
#[inline(always)]
|
105 |
/// Prepare work. Should be called in ImmixSpace::prepare.
|
106 |
#[allow(clippy::assertions_on_constants)]
|
107 |
pub fn prepare<VM: VMBinding>(&self, space: &ImmixSpace<VM>) {
|
198 |
/// Release work. Should be called in ImmixSpace::release.
|
199 |
#[allow(clippy::assertions_on_constants)]
|
200 |
pub fn release<VM: VMBinding>(&self, _space: &ImmixSpace<VM>) {
|
479 |
/// Trace object and do evacuation if required.
|
480 |
#[allow(clippy::assertions_on_constants)]
|
481 |
#[inline(always)]
|
551 |
/// Mark all the lines that the given object spans.
|
552 |
#[allow(clippy::assertions_on_constants)]
|
553 |
#[inline]
|
616 |
/// Returns None if the search could not find any more holes.
|
617 |
#[allow(clippy::assertions_on_constants)]
|
618 |
pub fn get_next_available_lines(&self, search_start: Line) -> Option<(Line, Line)> {
|
17 |
#[inline(always)]
|
18 |
#[allow(clippy::assertions_on_constants)] // make sure line is not used when BLOCK_ONLY is turned on.
|
19 |
fn from_aligned_address(address: Address) -> Self {
|
31 |
#[allow(clippy::assertions_on_constants)]
|
32 |
impl Line {
|
199 |
#[allow(clippy::assertions_on_constants)]
|
200 |
fn reserved_pages(&self) -> usize {
|
21 |
#[test]
|
22 |
#[allow(clippy::assertions_on_constants)]
|
23 |
fn struct_with_numbers_static() {
|
25 |
#[test]
|
26 |
#[allow(clippy::assertions_on_constants)]
|
27 |
fn struct_with_numbers_static() {
|
18 |
#[test]
|
19 |
#[allow(clippy::assertions_on_constants)]
|
20 |
fn enum_static() {
|
20 |
#[test]
|
21 |
#[allow(clippy::assertions_on_constants)]
|
22 |
fn struct_1_static() {
|
20 |
#[test]
|
21 |
#[allow(clippy::assertions_on_constants)]
|
22 |
fn struct_2_static() {
|
7 |
#[allow(clippy::assertions_on_constants)]
|
8 |
const _: () = {
|
33 |
#[allow(clippy::assertions_on_constants)]
|
34 |
const _: () = {
|
29 |
#[allow(clippy::assertions_on_constants)]
|
30 |
const _: () = assert!(META_SIZE >= HEADER_SIZE + stats::TOTAL_SIZE);
|
85 |
#[allow(clippy::assertions_on_constants)]
|
86 |
fn to_digits<C: Curve>(x: &C::ScalarField) -> Vec<u64> {
|
434 |
#[test]
|
435 |
#[allow(clippy::assertions_on_constants)]
|
436 |
fn arc_type() {
|
464 |
#[test]
|
465 |
#[allow(clippy::assertions_on_constants)]
|
466 |
fn box_type() {
|
225 |
#[allow(clippy::assertions_on_constants)]
|
226 |
fn checked_exp(self) -> Option<Decimal> {
|
107 |
) -> Self {
|
108 |
#[allow(clippy::assertions_on_constants)]
|
109 |
{
|
245 |
#[allow(clippy::assertions_on_constants)]
|
246 |
Node::ByteSequence(bytes) => {
|
10 |
#[allow(clippy::assertions_on_constants)]
|
11 |
unsafe fn unchecked_unwrap(self) -> T {
|
236 |
#[allow(clippy::assertions_on_constants)]
|
237 |
fn driver(hics: Hics) {
|
61 |
// we are on a >= 64 bit system which will never allow that much memory to be allocated
|
62 |
#[allow(clippy::assertions_on_constants)]
|
63 |
{
|
3013 |
//# [RFC5681].
|
3014 |
#[allow(clippy::assertions_on_constants)]
|
3015 |
#[test]
|
187 |
#[allow(clippy::assertions_on_constants)]
|
188 |
fn setup_different_sized_fec_blocks(
|
149 |
#[test]
|
150 |
#[allow(clippy::assertions_on_constants)]
|
151 |
fn test_sysvar_can_hold_all_active_blockhashes() {
|
548 |
const PRIMER_COUNT_TARGET_PERCENTILE: u64 = 85;
|
549 |
#[allow(clippy::assertions_on_constants)]
|
550 |
{
|
475 |
#[test]
|
476 |
#[allow(clippy::assertions_on_constants)]
|
477 |
fn test_age_sanity() {
|
317 |
#[test]
|
318 |
#[allow(clippy::assertions_on_constants)]
|
319 |
fn sprite_sheet_prefab() {
|
32 |
/// newly mapped pages).
|
33 |
#[allow(clippy::assertions_on_constants)]
|
34 |
#[requires(true, "`inner` must be unique (check manually)")]
|
75 |
impl Drop for LinearRef {
|
76 |
#[allow(clippy::assertions_on_constants)]
|
77 |
#[requires(false, "LinearRef should never be dropped.")]
|
245 |
#[allow(clippy::assertions_on_constants)]
|
246 |
fn main() -> Result<(), Box<dyn Error>> {
|
185 |
#[allow(clippy::assertions_on_constants)]
|
186 |
fn setup_different_sized_fec_blocks(
|
150 |
#[allow(clippy::assertions_on_constants)]
|
151 |
pub fn run_kill_partition_switch_threshold<C>(
|
149 |
#[test]
|
150 |
#[allow(clippy::assertions_on_constants)]
|
151 |
fn test_sysvar_can_hold_all_active_blockhashes() {
|
271 |
const PRIMER_COUNT_TARGET_PERCENTILE: u64 = 85;
|
272 |
#[allow(clippy::assertions_on_constants)]
|
273 |
{
|
470 |
#[test]
|
471 |
#[allow(clippy::assertions_on_constants)]
|
472 |
fn test_age_sanity() {
|
222 |
/// Static assert number elements per block this method expects
|
223 |
#[allow(clippy::assertions_on_constants)]
|
224 |
const _: () = assert!(ELEMENTS_PER_BLOCK == (1 << 16));
|
6 |
#[allow(clippy::assertions_on_constants)]
|
7 |
fn process_quad(&self,
|
7 |
// eventually loosen the constraint on N
|
8 |
#[allow(clippy::assertions_on_constants)]
|
9 |
fn process<const N: usize>( &mut self,
|
64 |
impl<const N: usize, S: BuildHasher> SymbolTable<N, S> {
|
65 |
#[allow(clippy::assertions_on_constants)]
|
66 |
fn with_hasher(build_hasher: S) -> Self {
|
50 |
#[allow(clippy::assertions_on_constants)]
|
51 |
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<(Header, Bytes)>> {
|
834 |
#[test]
|
835 |
#[allow(clippy::assertions_on_constants)]
|
836 |
fn tvm_op_stack_big_enough_test() {
|
167 |
#[test]
|
168 |
#[allow(clippy::assertions_on_constants)]
|
169 |
fn test_sysvar_can_hold_all_active_blockhashes() {
|
274 |
const PRIMER_COUNT_TARGET_PERCENTILE: u64 = 85;
|
275 |
#[allow(clippy::assertions_on_constants)]
|
276 |
{
|
451 |
#[test]
|
452 |
#[allow(clippy::assertions_on_constants)]
|
453 |
fn test_age_sanity() {
|
13 |
/// and not the identity.
|
14 |
#[allow(clippy::assertions_on_constants)]
|
15 |
pub fn group_hash(tag: &[u8], personalization: &[u8]) -> Option<jubjub::SubgroupPoint> {
|
18 |
const DEBUG_INTERNAL_ALLOCATOR: bool = cfg!(zerogc_simple_debug_alloc);
|
19 |
#[allow(clippy::assertions_on_constants)] // See rust-lang/clippy#7597
|
20 |
mod debug {
|
204 |
#![allow(clippy::ptr_offset_with_cast)]
|
205 |
#![allow(clippy::assertions_on_constants)]
|
206 |
#![deny(missing_docs)]
|
356 |
fn format_bytes(data: &[u8], f: &mut impl fmt::Write) -> fmt::Result {
|
357 |
#![allow(clippy::assertions_on_constants)]
|
6 |
#![allow(clippy::op_ref)]
|
7 |
#![allow(clippy::assertions_on_constants)]
|
8 |
#![allow(unused_attributes)]
|
1 |
#![allow(clippy::assertions_on_constants)]
|
1 |
#![allow(clippy::assertions_on_constants)]
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
5 |
#![allow(clippy::assertions_on_constants)]
|
255 |
// depending on the build-time configuration...
|
256 |
#![allow(clippy::assertions_on_constants)]
|
257 |
assert!(
|
1 |
#![allow(
|
2 |
clippy::assertions_on_constants,
|
3 |
clippy::assertions_on_result_states,
|
201 |
#![cfg_attr(not(feature = "std"), no_std)]
|
202 |
#![allow(clippy::assertions_on_constants)]
|
2 |
#![allow(clippy::absurd_extreme_comparisons)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
4 |
#![allow(clippy::blocks_in_if_conditions)]
|
1 |
#![warn(rust_2018_idioms, single_use_lifetimes)]
|
2 |
#![allow(clippy::zero_prefixed_literal, clippy::non_ascii_literal, clippy::assertions_on_constants)]
|
1 |
#![allow(clippy::assertions_on_constants)]
|
2 |
#![allow(clippy::type_complexity)]
|
1 |
#![allow(clippy::assertions_on_constants)]
|
1 |
#![allow(clippy::assertions_on_constants, clippy::eq_op, clippy::identity_op)]
|
2 |
#![allow(clippy::many_single_char_names)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
2 |
#![allow(clippy::many_single_char_names)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
2 |
#![allow(clippy::many_single_char_names)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
2 |
#![allow(clippy::many_single_char_names)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
4 |
#![allow(clippy::assertions_on_constants)]
|
15 |
#![allow(clippy::assertions_on_constants)]
|
20 |
#![allow(
|
21 |
clippy::assertions_on_constants,
|
22 |
clippy::redundant_field_names,
|
26 |
#![warn(rustdoc::invalid_html_tags)]
|
27 |
#![allow(clippy::assertions_on_constants)]
|
28 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::assertions_on_constants, clippy::eq_op)]
|
5 |
#![allow(unused_must_use)]
|
6 |
#![allow(clippy::assertions_on_constants)]
|
24 |
#![allow(
|
25 |
clippy::assertions_on_constants, // Compile-time asserts still useful
|
26 |
clippy::bool_assert_comparison, // Often clearer than using !
|
109 |
unstable_name_collisions,
|
110 |
clippy::assertions_on_constants,
|
111 |
clippy::cognitive_complexity,
|
3 |
clippy::bool_assert_comparison,
|
4 |
clippy::assertions_on_constants,
|
5 |
clippy::cognitive_complexity,
|
61 |
unstable_name_collisions,
|
62 |
clippy::assertions_on_constants,
|
63 |
clippy::cognitive_complexity,
|
3 |
clippy::bool_assert_comparison,
|
4 |
clippy::assertions_on_constants,
|
5 |
clippy::cognitive_complexity,
|
1 |
#![allow(clippy::assertions_on_constants)]
|
51 |
// more info, see this issue: https://github.com/rust-lang/rust-clippy/issues/8159
|
52 |
#![allow(clippy::assertions_on_constants)]
|
53 |
const _: () = assert!(MAX_WRITABLE_ACCOUNT_UNITS <= MAX_BLOCK_UNITS);
|
51 |
// more info, see this issue: https://github.com/rust-lang/rust-clippy/issues/8159
|
52 |
#![allow(clippy::assertions_on_constants)]
|
53 |
const _: () = assert!(MAX_WRITABLE_ACCOUNT_UNITS <= MAX_BLOCK_UNITS);
|
63 |
// seven while masking the contents of files B through H.
|
64 |
#![allow(clippy::assertions_on_constants)]
|
65 |
debug_assert!(Direction::MAX_STEPS < 4,
|
1 |
#![allow(clippy::assertions_on_constants)]
|
2 |
extern crate encoding_rs;
|
9 |
#![allow(renamed_and_removed_lints)]
|
10 |
#![allow(clippy::assertions_on_constants)]
|
11 |
#![allow(unknown_lints)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
33 |
pub fn flamegraph_layer<P: AsRef<Path>>(stack_filename: P) -> Result<(FlamegraphLayer, Flamegrapher), Error> {
|
34 |
#![allow(clippy::assertions_on_constants)]
|
35 |
assert!(
|
74 |
pub fn console_layer() -> Result<console_subscriber::ConsoleLayer, Error> {
|
75 |
#![allow(clippy::assertions_on_constants)]
|
76 |
assert!(
|
104 |
fn is_vars_enabled(&self) -> bool {
|
105 |
#![allow(clippy::assertions_on_constants)]
|
106 |
debug_assert!(typos_vars::NO_INVALID);
|
51 |
// more info, see this issue: https://github.com/rust-lang/rust-clippy/issues/8159
|
52 |
#![allow(clippy::assertions_on_constants)]
|
53 |
const _: () = assert!(MAX_WRITABLE_ACCOUNT_UNITS <= MAX_BLOCK_UNITS);
|
2 |
#![allow(clippy::unnecessary_cast)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
1 |
#![allow(clippy::assertions_on_constants)]
|