4 |
#[allow(clippy::no_effect)]
|
5 |
fn _settings_json() {
|
7 |
#[allow(clippy::no_effect)]
|
8 |
fn _settings_json() {
|
41 |
// Panic
|
42 |
#[allow(clippy::no_effect)]
|
43 |
["best_index is out of bounds"][best_index];
|
917 |
#[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
|
918 |
async fn associated2(&self) {
|
940 |
#[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
|
941 |
async fn associated2(&self) {
|
1382 |
#[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
|
1383 |
async fn associated2(&self) {
|
1405 |
#[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
|
1406 |
async fn associated2(&self) {
|
845 |
#[allow(path_statements, clippy::no_effect)]
|
846 |
async fn associated2(&self) {
|
868 |
#[allow(path_statements, clippy::no_effect)]
|
869 |
async fn associated2(&self) {
|
232 |
#[allow(unused_must_use)]
|
233 |
#[allow(clippy::no_effect)]
|
234 |
{
|
255 |
#[allow(unconditional_panic)]
|
256 |
#[allow(clippy::no_effect)]
|
257 |
["Error: Fields without a static size (e.g. open-ended byte arrays) can only be used at the end of a layout"][10];
|
622 |
fn index(&self, index: usize) -> &T {
|
623 |
#[allow(clippy::no_effect)]
|
624 |
[(); C][index];
|
616 |
fn index(&self, index: usize) -> &T {
|
617 |
#[allow(clippy::no_effect)]
|
618 |
[(); C][index];
|
616 |
fn index(&self, index: usize) -> &T {
|
617 |
#[allow(clippy::no_effect)]
|
618 |
[(); C][index];
|
616 |
fn index(&self, index: usize) -> &T {
|
617 |
#[allow(clippy::no_effect)]
|
618 |
[(); C][index];
|
273 |
// Really clippy? Array indexing can panic you know.
|
274 |
#[allow(clippy::no_effect)]
|
275 |
pub const FOR_ESCAPING: &ForEscaping = {
|
628 |
fn index(&self, index: usize) -> &T {
|
629 |
#[allow(clippy::no_effect)]
|
630 |
[(); C][index];
|
674 |
fn index(&self, index: usize) -> &T {
|
675 |
#[allow(clippy::no_effect)]
|
676 |
[(); C][index];
|
3 |
pub(crate) const fn greater_than_eq<const N: usize, const MIN: usize>() {
|
4 |
#[allow(clippy::no_effect)]
|
5 |
Assert::<N, MIN>::GREATER_EQ;
|
674 |
fn index(&self, index: usize) -> &T {
|
675 |
#[allow(clippy::no_effect)]
|
676 |
[(); C][index];
|
674 |
fn index(&self, index: usize) -> &T {
|
675 |
#[allow(clippy::no_effect)]
|
676 |
[(); C][index];
|
674 |
fn index(&self, index: usize) -> &T {
|
675 |
#[allow(clippy::no_effect)]
|
676 |
[(); C][index];
|
674 |
fn index(&self, index: usize) -> &T {
|
675 |
#[allow(clippy::no_effect)]
|
676 |
[(); C][index];
|
674 |
fn index(&self, index: usize) -> &T {
|
675 |
#[allow(clippy::no_effect)]
|
676 |
[(); C][index];
|
474 |
#[cfg(not(feature = "nightly"))]
|
475 |
#[allow(clippy::no_effect)]
|
476 |
{
|
543 |
#[allow(clippy::no_effect)]
|
544 |
grid[0];
|
7459 |
#[allow(clippy::no_effect)] // false positive lint
|
7460 |
map[&4];
|
87 |
#[should_panic]
|
88 |
#[cfg_attr(feature = "cargo-clippy", allow(no_effect))] // It's supposed to panic
|
89 |
fn test_index_nonexistent() {
|
88 |
#[should_panic]
|
89 |
#[cfg_attr(feature = "cargo-clippy", allow(no_effect))] // It's supposed to panic
|
90 |
fn test_index_nonexistent() {
|
598 |
fn index(&self, index: usize) -> &T {
|
599 |
#[allow(clippy::no_effect)]
|
600 |
[(); C][index];
|
161 |
unsafe {
|
162 |
#[allow(clippy::no_effect)]
|
163 |
DEREF_WITHOUT_VALUE.value;
|
40 |
/// Init logger singleton
|
41 |
#[allow(clippy::no_effect)]
|
42 |
pub(crate) fn ensure_logging() {
|
168 |
#[allow(clippy::no_effect)]
|
169 |
fn benchmark_div_mod_unsigned_algorithms<T: PrimitiveUnsigned>(
|
250 |
#[allow(clippy::no_effect)]
|
251 |
fn benchmark_div_rem_unsigned_algorithms<T: PrimitiveUnsigned>(
|
272 |
#[allow(clippy::no_effect)]
|
273 |
fn benchmark_div_rem_signed_algorithms<T: PrimitiveSigned>(
|
26 |
#[allow(clippy::no_effect, unused_must_use)]
|
27 |
fn benchmark_nice_float_eq_algorithms<T: PrimitiveFloat>(
|
49 |
#[allow(clippy::no_effect)]
|
50 |
fn benchmark_rational_sequence_index(
|
25 |
#[allow(clippy::no_effect, unused_must_use)]
|
26 |
fn benchmark_rational_sequence_eq(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
|
93 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
94 |
fn benchmark_integer_add_library_comparison(
|
116 |
#[allow(clippy::no_effect, unused_must_use)]
|
117 |
fn benchmark_integer_add_evaluation_strategy(
|
183 |
#[allow(clippy::no_effect, unused_must_use)]
|
184 |
fn benchmark_integer_add_mul_algorithms(
|
209 |
#[allow(clippy::no_effect, unused_must_use)]
|
210 |
fn benchmark_integer_add_mul_val_val_ref_algorithms(
|
235 |
#[allow(clippy::no_effect, unused_must_use)]
|
236 |
fn benchmark_integer_add_mul_val_ref_val_algorithms(
|
261 |
#[allow(clippy::no_effect, unused_must_use)]
|
262 |
fn benchmark_integer_add_mul_val_ref_ref_algorithms(
|
287 |
#[allow(clippy::no_effect, unused_must_use)]
|
288 |
fn benchmark_integer_add_mul_ref_ref_ref_algorithms(
|
68 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
69 |
fn benchmark_integer_div_library_comparison(
|
91 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
92 |
fn benchmark_integer_div_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
|
108 |
#[allow(clippy::no_effect, unused_must_use)]
|
109 |
fn benchmark_integer_div_evaluation_strategy(
|
95 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
96 |
fn benchmark_rational_add_library_comparison(
|
118 |
#[allow(clippy::no_effect, unused_must_use)]
|
119 |
fn benchmark_rational_add_evaluation_strategy(
|
142 |
#[allow(clippy::no_effect, unused_must_use)]
|
143 |
fn benchmark_rational_add_algorithms(
|
72 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
73 |
fn benchmark_rational_div_library_comparison(
|
95 |
#[allow(clippy::no_effect, unused_must_use)]
|
96 |
fn benchmark_rational_div_evaluation_strategy(
|
119 |
#[allow(clippy::no_effect, unused_must_use)]
|
120 |
fn benchmark_rational_div_algorithms(
|
99 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
100 |
fn benchmark_rational_mul_library_comparison(
|
122 |
#[allow(clippy::no_effect, unused_must_use)]
|
123 |
fn benchmark_rational_mul_evaluation_strategy(
|
146 |
#[allow(clippy::no_effect, unused_must_use)]
|
147 |
fn benchmark_rational_mul_algorithms(
|
40 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
41 |
fn benchmark_rational_neg_library_comparison(
|
33 |
for x in 0..5 {
|
34 |
#[allow(clippy::no_effect)]
|
35 |
array[[x, y]];
|
48 |
for x in 0..5 {
|
49 |
#[allow(clippy::no_effect)]
|
50 |
array[[x, y]];
|
760 |
// Do a real array dereference for the bounds check.
|
761 |
#[allow(clippy::no_effect)]
|
762 |
[(); C][index];
|
575 |
#[allow(clippy::no_effect)]
|
576 |
pub fn setup() {
|
13 |
pub(crate) const fn greater_than_0<const N: usize>() {
|
14 |
#[allow(clippy::no_effect)]
|
15 |
Assert::<N, 0>::GREATER;
|
226 |
#[allow(path_statements)]
|
227 |
#[allow(clippy::no_effect)]
|
228 |
fn drop(self: Pin<&mut Self>) {
|
170 |
#[inline]
|
171 |
#[cfg_attr(feature = "cargo-clippy", allow(no_effect))]
|
172 |
pub fn get_layer(&self, layer: PdfLayerIndex)
|
45 |
#[allow(unconditional_panic)]
|
46 |
#[allow(clippy::no_effect)]
|
47 |
([] as [u8; 0])[0]; // Invalid ASCII chars
|
297 |
["PyCapsule value type T must not be zero-sized!"][Self::_CONDITION];
|
298 |
#[allow(path_statements, clippy::no_effect)]
|
299 |
fn assert_not_zero_sized(&self) {
|
600 |
fn index(&self, index: usize) -> &T {
|
601 |
#[allow(clippy::no_effect)]
|
602 |
[(); C][index];
|
261 |
// hacky way to panic if the value is out of range in const_fn
|
262 |
#[allow(clippy::no_effect)]
|
263 |
a[((0xFFFF000000000000 & mac) >> 32) as usize];
|
22 |
if !is_valid_status_code(code) {
|
23 |
#[allow(unconditional_panic, clippy::no_effect)]
|
24 |
([] as [u8; 0])[0]; // hack for panic in const fn,
|
831 |
#[allow(path_statements, clippy::no_effect)]
|
832 |
async fn associated2(&self) {
|
854 |
#[allow(path_statements, clippy::no_effect)]
|
855 |
async fn associated2(&self) {
|
59 |
#[allow(unconditional_panic)]
|
60 |
#[allow(clippy::no_effect)]
|
61 |
([] as [u8; 0])[0]; // Invalid ASCII chars
|
33 |
#[should_panic]
|
34 |
#[allow(unused_variables, clippy::no_effect)]
|
35 |
fn object_index() {
|
48 |
#[should_panic]
|
49 |
#[allow(unused_variables, clippy::no_effect)]
|
50 |
fn array_index() {
|
139 |
/// This function panics if the prefix length is larger than 32.
|
140 |
#[allow(clippy::no_effect)]
|
141 |
pub const fn new(address: Address, prefix_len: u8) -> Cidr {
|
343 |
pub(super) fn set_alternate<const A: u8>(&mut self) {
|
344 |
#[allow(path_statements, clippy::no_effect)]
|
345 |
{
|
151 |
) -> Pin<P, N, Alternate<A, PushPull>> {
|
152 |
#[allow(path_statements, clippy::no_effect)]
|
153 |
{
|
182 |
) -> Pin<P, N, Alternate<A, OpenDrain>> {
|
183 |
#[allow(path_statements, clippy::no_effect)]
|
184 |
{
|
11 |
fn set_alternate<const A: u8>(&mut self) {
|
12 |
#[allow(path_statements, clippy::no_effect)]
|
13 |
{
|
16 |
// This has the effect of panicking on non to '0' to '9' characters.
|
17 |
#[allow(clippy::no_effect)]
|
18 |
{
|
305 |
// The effect is that it panics if `index >= 64`
|
306 |
#[allow(clippy::no_effect)]
|
307 |
[(); 64][index as usize];
|
42 |
// Do a real array dereference for the bounds check.
|
43 |
#[allow(clippy::no_effect)]
|
44 |
[(); C][index];
|
87 |
// Make sure thread handle exists
|
88 |
#[allow(clippy::no_effect)] // Haha clippy, you'd be wrong here.
|
89 |
{
|
598 |
fn index(&self, index: usize) -> &T {
|
599 |
#[allow(clippy::no_effect)]
|
600 |
[(); C][index];
|
139 |
/// This function panics if the prefix length is larger than 32.
|
140 |
#[allow(clippy::no_effect)]
|
141 |
pub const fn new(address: Address, prefix_len: u8) -> Cidr {
|
2 |
#![allow(clippy::many_single_char_names)]
|
3 |
#![allow(clippy::no_effect)]
|
4 |
#![no_std]
|
1 |
#![allow(clippy::no_effect)]
|
3 |
clippy::should_implement_trait,
|
4 |
clippy::no_effect,
|
5 |
clippy::missing_safety_doc
|
12 |
#![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
|
13 |
#![allow(clippy::no_effect)] // trips on #[throws(Explode)]
|