676 |
for meta_items in field.attrs.iter().filter_map(get_amadeus_meta_items) {
|
677 |
#[allow(clippy::never_loop)]
|
678 |
for meta_item in meta_items {
|
316 |
for meta_items in field.attrs.iter().filter_map(get_parquet_meta_items) {
|
317 |
#[allow(clippy::never_loop)]
|
318 |
for meta_item in meta_items {
|
189 |
{
|
190 |
#[allow(clippy::never_loop)]
|
191 |
let inner = loop {
|
2299 |
// TODO: When stabilized: https://github.com/rust-lang/rust/issues/48594
|
2300 |
#[allow(clippy::never_loop)]
|
2301 |
loop {
|
35 |
// Process events from this frame.
|
36 |
#[allow(clippy::never_loop)]
|
37 |
while let Some((event, _timestamp)) = sdl.poll_events() {
|
307 |
// which would use more space.
|
308 |
#[allow(clippy::never_loop)]
|
309 |
loop {
|
198 |
fn next_until_none(&mut self) -> Option<(i32, usize)> {
|
199 |
#[allow(clippy::never_loop)]
|
200 |
while let Some(value) = self.value {
|
281 |
#[allow(clippy::never_loop)]
|
282 |
fn test_with_data(
|
1282 |
impl ParsedReturnType {
|
1283 |
#[allow(clippy::never_loop)]
|
1284 |
fn new(
|
564 |
#[allow(clippy::never_loop)] // Required to implement nice if/else
|
565 |
'krztyna: loop {
|
362 |
if is_heic || is_webp {
|
363 |
#[allow(clippy::never_loop)]
|
364 |
'czystka: loop {
|
415 |
#[allow(clippy::never_loop)]
|
416 |
loop {
|
573 |
// TODO labels on {} are in testing stage, so we just ignore for now this warning until found better idea how to fix this
|
574 |
#[allow(clippy::never_loop)]
|
575 |
'dir: loop {
|
244 |
#[inline(never)]
|
245 |
#[allow(clippy::never_loop)]
|
246 |
fn seek(&mut self, pos: u32, seq_hint: bool) -> Option<i32> {
|
36 |
#[allow(clippy::never_loop)]
|
37 |
pub fn get_complete_index(&self) -> Option<usize> {
|
309 |
//@ditto/snippet-ignore-next-line
|
310 |
#[allow(clippy::never_loop)]
|
311 |
for doc in rx.iter() {
|
91 |
/// Run the closure in a different thread, periodically checking the signals.
|
92 |
#[allow(clippy::never_loop)]
|
93 |
pub fn block_with_signals<F, R>(signals: &mut Signals, ignore_sigint: bool, f: F) -> Result<R>
|
231 |
#[cfg_attr(feature = "cargo-clippy", allow(never_loop, cyclomatic_complexity))]
|
232 |
pub fn convert_utf8_to_utf16_up_to_invalid(src: &[u8], dst: &mut [u16]) -> (usize, usize) {
|
608 |
#[cfg_attr(feature = "cargo-clippy", allow(never_loop))]
|
609 |
#[inline(never)]
|
732 |
//TODO - This loop is getting only first element, fix code so only one transaction is taken from db
|
733 |
#[allow(clippy::never_loop)]
|
734 |
for tx in &mut transactions {
|
261 |
while let Some(v) = to_visit.pop() {
|
262 |
#[allow(clippy::never_loop)]
|
263 |
if let Some(parent) = this.parent_names(v).await?.into_iter().next() {
|
64 |
(|| -> crate::Result<()> {
|
65 |
#[allow(clippy::never_loop)]
|
66 |
let header_corrupted = loop {
|
355 |
};
|
356 |
#[allow(clippy::never_loop)] // it does loop idk why clippy yell at it.
|
357 |
for next_b in iter.by_ref() {
|
211 |
fn next(&mut self) -> Option<Self::Item> {
|
212 |
#[allow(clippy::never_loop)]
|
213 |
loop {
|
640 |
#[allow(clippy::never_loop)]
|
641 |
pub(crate) fn run_at(&mut self, mut cur_fn: usize) -> Result<i32> {
|
511 |
#[allow(clippy::never_loop)]
|
512 |
fn consume_ws(&mut self) {
|
812 |
#[allow(clippy::never_loop)]
|
813 |
unsafe fn force(&self) {
|
55 |
// Process events from this frame.
|
56 |
#[allow(clippy::never_loop)]
|
57 |
while let Some((event, _timestamp)) = sdl.poll_events() {
|
209 |
fn next(&mut self) -> Option<Self::Item> {
|
210 |
#[allow(clippy::never_loop)]
|
211 |
loop {
|
685 |
// (this just simplifies control flow vs. break / continue).
|
686 |
#[allow(clippy::never_loop)]
|
687 |
fn step(&mut self, input: &mut BufferQueue) -> ProcessResult<Sink::Handle> {
|
719 |
/// Starts the fuzzing loop.
|
720 |
#[allow(clippy::never_loop)]
|
721 |
fn run(&mut self, init_corpus: bool, mut iterations: Option<u64>) -> Result<()> {
|
280 |
#[allow(clippy::never_loop)]
|
281 |
fn decode(self_ptr: *const OpCodeHandler, decoder: &mut Decoder<'_>, instruction: &mut Instruction) {
|
2095 |
#[cfg(not(feature = "__internal_flip"))]
|
2096 |
#[allow(clippy::never_loop)]
|
2097 |
fn read_op_mem_1(instruction: &mut Instruction, this: &mut Decoder<'_>) -> bool {
|
2116 |
#[cfg(not(feature = "__internal_flip"))]
|
2117 |
#[allow(clippy::never_loop)]
|
2118 |
fn read_op_mem_1_4(instruction: &mut Instruction, this: &mut Decoder<'_>) -> bool {
|
2169 |
#[cfg(not(feature = "__internal_flip"))]
|
2170 |
#[allow(clippy::never_loop)]
|
2171 |
fn read_op_mem_0_5(instruction: &mut Instruction, this: &mut Decoder<'_>) -> bool {
|
2197 |
#[cfg(not(feature = "__internal_flip"))]
|
2198 |
#[allow(clippy::never_loop)]
|
2199 |
fn read_op_mem_2_4(instruction: &mut Instruction, this: &mut Decoder<'_>) -> bool {
|
2238 |
#[cfg(not(feature = "__internal_flip"))]
|
2239 |
#[allow(clippy::never_loop)]
|
2240 |
fn read_op_mem_2(instruction: &mut Instruction, this: &mut Decoder<'_>) -> bool {
|
1026 |
// The loop is only broken out of as goto forward
|
1027 |
#[allow(clippy::never_loop)]
|
1028 |
loop {
|
176 |
// The loop is only broken out of as goto forward
|
177 |
#[allow(clippy::never_loop)]
|
178 |
loop {
|
92 |
spawn_abortable(async move {
|
93 |
#[allow(clippy::never_loop)]
|
94 |
while let Some(status) = rx.next().await {
|
50 |
#[allow(clippy::never_loop)]
|
51 |
for (name, (_, span)) in configs {
|
167 |
#[allow(clippy::never_loop)] // TODO @Protryon: How should we return multiple errors?
|
168 |
for (span, error) in director.reducer().errors {
|
273 |
#[allow(clippy::never_loop)]
|
274 |
// emulate ugly C switch with fall-through logic
|
149 |
// TODO: hack to allow breaks
|
150 |
#[allow(clippy::never_loop)]
|
151 |
'outer: loop {
|
82 |
}
|
83 |
#[allow(clippy::never_loop)]
|
84 |
for alarm in state.alarms.set() {
|
91 |
#[allow(clippy::never_loop)]
|
92 |
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
|
58 |
#[allow(clippy::never_loop)]
|
59 |
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
|
1365 |
#[allow(clippy::never_loop)]
|
1366 |
fn set_and_join_vert(grid: &mut CellBuffer, idx: Pos) -> u32 {
|
1459 |
#[allow(clippy::never_loop)]
|
1460 |
fn set_and_join_horz(grid: &mut CellBuffer, idx: Pos) -> u32 {
|
835 |
#[allow(clippy::never_loop)]
|
836 |
loop {
|
93 |
#[allow(clippy::never_loop)]
|
94 |
fn search_tldl_on_subdomain(&self, sub_domain: &[&str]) -> usize {
|
89 |
// the keys
|
90 |
#[allow(clippy::never_loop)]
|
91 |
for (condition_name, condition_object) in val {
|
97 |
let mut outer_mapping: MappingParseTree = MappingParseTree::new();
|
98 |
#[allow(clippy::never_loop)]
|
99 |
for (outer_key, inner_mapping_obj) in val {
|
112 |
let mut inner_mapping: HashMap<String, MappingInnerValue> = HashMap::new();
|
113 |
#[allow(clippy::never_loop)]
|
114 |
for (inner_key, inner_mapping_obj) in val {
|
182 |
} else {
|
183 |
#[allow(clippy::never_loop)]
|
184 |
for (resource_name, resource_object) in val {
|
1796 |
// this loop is just here so we have a way of giving up the borrow of self.replay_paths
|
1797 |
#[allow(clippy::never_loop)]
|
1798 |
'outer: loop {
|
39 |
{
|
40 |
#[allow(clippy::never_loop)]
|
41 |
for x in ast {
|
317 |
let args = self.arguments();
|
318 |
#[allow(clippy::never_loop)] // fixme use named block when MSRV is 1.65
|
319 |
'ctor_name: loop {
|
139 |
fn rust_arg_func_decl(&self, name: &str) -> String {
|
140 |
#[allow(clippy::never_loop)] // fixme use named block when MSRV is 1.65
|
141 |
let typ = 'decl_type: loop {
|
360 |
};
|
361 |
#[allow(clippy::never_loop)] // fixme use named block when MSRV is 1.65
|
362 |
'typ: loop {
|
610 |
#[allow(clippy::never_loop)]
|
611 |
fn not_found_yet_solution(solutions: &[Ind], other: &Ind) -> bool {
|
636 |
pub fn sign_step1(result: &mut SignPrecomp, k: &[u32; 8]) -> bool {
|
637 |
#[allow(clippy::never_loop)]
|
638 |
loop {
|
691 |
) -> bool {
|
692 |
#[allow(clippy::never_loop)]
|
693 |
loop {
|
31 |
loop {
|
32 |
#[allow(clippy::never_loop)]
|
33 |
let i = 'a: loop {
|
16 |
#[allow(clippy::never_loop)]
|
17 |
fn float_to_string(n: f64, max_precision: usize, min_decimal: usize) -> String {
|
1513 |
impl Into<(Vec<i64>, i64)> for LineDashPattern {
|
1514 |
#[cfg_attr(feature = "cargo-clippy", allow(never_loop))]
|
1515 |
#[cfg_attr(feature = "cargo-clippy", allow(while_let_loop))]
|
533 |
// to.
|
534 |
#[allow(clippy::never_loop)]
|
535 |
'nextinsn: loop {
|
1299 |
// Grow into the next free block. Fail if there isn't such a block.
|
1300 |
#[allow(clippy::never_loop)]
|
1301 |
'nonmoving: loop {
|
129 |
}
|
130 |
#[allow(clippy::never_loop)]
|
131 |
loop {
|
2937 |
// NB: loop is actually useful.
|
2938 |
#[allow(clippy::never_loop)]
|
2939 |
loop {
|
96 |
// This loop is useful.
|
97 |
#[allow(clippy::never_loop)]
|
98 |
loop {
|
524 |
// This loop is useful, at least until it's rewritten.
|
525 |
#[allow(clippy::never_loop)]
|
526 |
let kind = loop {
|
1826 |
// This is a useful pattern.
|
1827 |
#[allow(clippy::never_loop)]
|
1828 |
loop {
|
84 |
#[allow(clippy::never_loop)]
|
85 |
for arg in it {
|
228 |
for attr in input {
|
229 |
#[allow(clippy::never_loop)] // I guess this is on purpose?
|
230 |
for meta in self.get_meta_items(attr, RUNE)? {
|
1856 |
// This is a useful pattern.
|
1857 |
#[allow(clippy::never_loop)]
|
1858 |
loop {
|
33 |
let _check1 = position.read_u32()?;
|
34 |
#[allow(clippy::never_loop)]
|
35 |
for _ in 0..nkeys {
|
397 |
#[allow(clippy::never_loop)]
|
398 |
fn process_game_control_requests(
|
796 |
// When label-break-value stabilises I’ll switch to that, but until then, loop it is.
|
797 |
#[allow(clippy::never_loop)]
|
798 |
loop { // breaks after exactly one iteration.
|
55 |
#[allow(clippy::never_loop)]
|
56 |
for row in rows.iter() {
|
211 |
fn next(&mut self) -> Option<Self::Item> {
|
212 |
#[allow(clippy::never_loop)]
|
213 |
loop {
|
214 |
/// armor::Kind::File is returned as safe default.
|
215 |
#[allow(clippy::never_loop)]
|
216 |
fn detect_armor_kind(input: Box<dyn BufferedReader<()>>)
|
32 |
let mut chars = text.char_indices();
|
33 |
#[allow(clippy::never_loop)]
|
34 |
let mut error_start = 'success: loop {
|
92 |
#[allow(clippy::never_loop)]
|
93 |
fn next(&mut self) -> Option<Self::Item> {
|
106 |
#[allow(clippy::never_loop)]
|
107 |
fn next(&mut self) -> Option<Self::Item> {
|
207 |
#[allow(clippy::never_loop)]
|
208 |
loop {
|
174 |
#[allow(clippy::never_loop)]
|
175 |
loop {
|
59 |
#[cfg_attr(feature = "cargo-clippy", allow(use_debug, never_loop))]
|
60 |
pub fn run<A: ToSocketAddrsExt>(&self, addr: A) -> Result<(), ListenError> {
|
21 |
// It's not true that it never loops!
|
22 |
#[allow(clippy::never_loop)]
|
23 |
let p = loop {
|
194 |
fn ensure_start(mut stream: &TcpStream) -> Result<ChannelMode, ChannelHandleError> {
|
195 |
#[allow(clippy::never_loop)]
|
196 |
loop {
|
759 |
let mut sector_iter = self.file_sectors(file_name);
|
760 |
#[allow(clippy::never_loop)]
|
761 |
let mut tran = loop {
|
444 |
// Most strings are ASCII strings, try them first.
|
445 |
#[allow(clippy::never_loop)]
|
446 |
'ascii: loop {
|
880 |
// Add trailing trivia to the first line of the function body
|
881 |
#[allow(clippy::never_loop)]
|
882 |
#[allow(unused_variables)]
|
967 |
// header/blocks of the underlying .xz file
|
968 |
#[allow(clippy::never_loop)]
|
969 |
loop {
|
19 |
/// and a flag indicating whether any data was ignored, or an error.
|
20 |
#[allow(clippy::never_loop)]
|
21 |
pub(crate) fn read_tag<R: ReadBytes>(mut reader: R) -> Result<(u32, u32, bool)> {
|
434 |
#[allow(clippy::never_loop)]
|
435 |
'outer: for (group_idx, group) in grouped_by_index.iter().enumerate() {
|
36 |
{
|
37 |
#[allow(clippy::never_loop)]
|
38 |
for x in ast {
|
551 |
// (using this as a named block for early returns; not actually a loop)
|
552 |
#[allow(clippy::never_loop)]
|
553 |
'outer: loop {
|
162 |
// This loop is only broken out of as goto forward
|
163 |
#[allow(clippy::never_loop)]
|
164 |
loop {
|
922 |
pub fn convert_c_type(ty: &str, outer: &str) -> String {
|
923 |
#[allow(clippy::never_loop)]
|
924 |
let ty = 'outer: loop {
|
641 |
// (this just simplifies control flow vs. break / continue).
|
642 |
#[allow(clippy::never_loop)]
|
643 |
fn step(&mut self, input: &mut BufferQueue) -> bool {
|
103 |
fn find_directory(name: &str) -> PathBuf {
|
104 |
#[allow(clippy::never_loop)]
|
105 |
let mut venv_dir = loop {
|
448 |
#[allow(clippy::never_loop)]
|
449 |
let reason: LoopExitReason<_,_> = 'main: loop {
|
674 |
#[allow(clippy::never_loop)]
|
675 |
loop {
|
3 |
#![allow(clippy::never_loop)]
|
8 |
clippy::match_bool,
|
9 |
clippy::never_loop,
|
10 |
clippy::overly_complex_bool_expr,
|
14 |
clippy::needless_return,
|
15 |
clippy::never_loop,
|
16 |
clippy::unnecessary_wraps,
|
2 |
// We use loops for getting early-out of scope without closures.
|
3 |
clippy::never_loop,
|
4 |
// We don't use syntax sugar where it's not necessary.
|
2 |
//!
|
3 |
#![allow(clippy::never_loop)]
|
3 |
#![allow(clippy::never_loop)]
|
3 |
#![allow(clippy::never_loop)]
|
3 |
#![allow(clippy::never_loop)]
|
10 |
clippy::needless_lifetimes,
|
11 |
clippy::never_loop,
|
12 |
clippy::too_many_lines,
|
21 |
clippy::let_underscore_drop,
|
22 |
clippy::never_loop,
|
23 |
clippy::too_many_lines,
|
3 |
#![allow(clippy::never_loop)]
|
63 |
clippy::must_use_candidate,
|
64 |
clippy::never_loop,
|
65 |
clippy::ptr_as_ptr,
|
3 |
clippy::field_reassign_with_default,
|
4 |
clippy::never_loop,
|
5 |
clippy::derive_hash_xor_eq,
|
4 |
#![allow(clippy::never_loop)]
|
5 |
#![allow(clippy::useless_let_if_seq)]
|
7 |
clippy::module_name_repetitions,
|
8 |
clippy::never_loop,
|
9 |
clippy::single_match,
|
5 |
clippy::module_name_repetitions,
|
6 |
clippy::never_loop,
|
7 |
clippy::single_match,
|
9 |
#![allow(clippy::or_fun_call)]
|
10 |
#![allow(clippy::never_loop)]
|
11 |
#![allow(clippy::needless_range_loop)]
|
1 |
#![allow(clippy::new_ret_no_self)]
|
2 |
#![allow(clippy::never_loop)]
|
1 |
#![allow(clippy::never_loop)] // using for block breaking
|
2 |
//! Utilities to help with developing / testing tx2.
|
23 |
#![allow(clippy::never_loop)]
|
1 |
#![allow(clippy::never_loop)]
|
2 |
extern crate proc_macro;
|
1 |
#![allow(clippy::if_same_then_else)]
|
2 |
#![allow(clippy::never_loop)]
|
3 |
#![allow(clippy::almost_swapped)]
|
1 |
#![cfg_attr(feature = "cargo-clippy", allow(type_complexity, useless_format, never_loop))]
|
3 |
// We use loops for getting early-out of scope without closures.
|
4 |
clippy::never_loop,
|
5 |
// We don't use syntax sugar where it's not necessary.
|
4 |
// We use loops for getting early-out of scope without closures.
|
5 |
clippy::never_loop,
|
6 |
// We don't use syntax sugar where it's not necessary.
|
3 |
#![allow(clippy::never_loop)]
|
163 |
#![allow(clippy::needless_doctest_main)]
|
164 |
#![allow(clippy::never_loop)]
|
165 |
#![allow(clippy::too_many_arguments)]
|
6 |
#![allow(clippy::never_loop)]
|
7 |
#![allow(unused_variables)] //TODO
|
3 |
#![allow(clippy::never_loop)]
|
151 |
clippy::missing_panics_doc,
|
152 |
clippy::never_loop,
|
153 |
clippy::return_self_not_must_use,
|
3 |
#![allow(clippy::never_loop)]
|
279 |
clippy::needless_pass_by_value,
|
280 |
clippy::never_loop,
|
281 |
clippy::redundant_else,
|
256 |
clippy::needless_pass_by_value,
|
257 |
clippy::never_loop,
|
258 |
clippy::suspicious_op_assign_impl,
|
255 |
clippy::needless_pass_by_value,
|
256 |
clippy::never_loop,
|
257 |
clippy::suspicious_op_assign_impl,
|
240 |
needless_pass_by_value,
|
241 |
never_loop,
|
242 |
redundant_field_names,
|
3 |
#![allow(clippy::never_loop)]
|
3 |
#![allow(clippy::never_loop)]
|
1 |
#![allow(clippy::never_loop)]
|
4 |
#![doc(test(attr(allow(unused_variables))))]
|
5 |
#![allow(clippy::never_loop)]
|
10 |
// We use loops for getting early-out of scope without closures.
|
11 |
clippy::never_loop,
|
12 |
// We don't use syntax sugar where it's not necessary.
|
21 |
// We use loops for getting early-out of scope without closures.
|
22 |
clippy::never_loop,
|
23 |
// We don't use syntax sugar where it's not necessary.
|
9 |
//! The HTML5 tokenizer.
|
10 |
#![allow(clippy::never_loop, clippy::cognitive_complexity, clippy::single_match)]
|
11 |
#![allow(clippy::unnested_or_patterns)]
|