92 |
) -> Result<num_complex::Complex64, CalcError> {
|
93 |
#![allow(clippy::enum_glob_use)]
|
94 |
use crate::expr::Expr::*;
|
517 |
#[allow(clippy::enum_glob_use)]
|
518 |
fn from_ast_inner(
|
334 |
// we'd need to specify `AsciiChar::` or `Self::` 128 times.
|
335 |
#[allow(clippy::enum_glob_use)]
|
336 |
use AsciiChar::*;
|
188 |
fn collide_special(a: &CollisionShape, ta: &Transform2D, b: &CollisionShape, tb: &Transform2D) -> Option<Vec2> {
|
189 |
#[allow(clippy::enum_glob_use)]
|
190 |
use CollisionShape::*;
|
17 |
/// Arithmetic instructions
|
18 |
#[allow(clippy::needless_pass_by_value, clippy::enum_glob_use)]
|
19 |
pub mod arith;
|
22 |
/// I/O, debugging, function call and return instructions
|
23 |
#[allow(clippy::needless_pass_by_value, clippy::enum_glob_use)]
|
24 |
pub mod io;
|
27 |
/// Instructions for moving data between registers and memory addresses
|
28 |
#[allow(clippy::needless_pass_by_value, clippy::enum_glob_use)]
|
29 |
pub mod mov;
|
32 |
/// Instructions for making logical comparisons
|
33 |
#[allow(clippy::needless_pass_by_value, clippy::enum_glob_use)]
|
34 |
pub mod cmp;
|
37 |
/// Instructions for logical bit manipulation
|
38 |
#[allow(clippy::needless_pass_by_value, clippy::enum_glob_use)]
|
39 |
pub mod bitman;
|
63 |
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
64 |
#[allow(clippy::enum_glob_use)]
|
65 |
use Op::*;
|
129 |
fn get_op(inp: &str) -> Op {
|
130 |
#[allow(clippy::enum_glob_use)]
|
131 |
use Op::*;
|
110 |
#[allow(clippy::enum_glob_use, clippy::needless_pass_by_value)]
|
111 |
fn run(
|
160 |
#[allow(clippy::enum_glob_use, clippy::needless_pass_by_value)]
|
161 |
fn compile(
|
9 |
#[allow(clippy::enum_glob_use)]
|
10 |
use PixelFormat::*;
|
32 |
#[cfg(racy_asserts)]
|
33 |
#[allow(clippy::enum_glob_use)]
|
34 |
fn check_create_dir(
|
54 |
#[allow(clippy::too_many_arguments)]
|
55 |
#[allow(clippy::enum_glob_use)]
|
56 |
fn check_hard_link(
|
50 |
#[cfg(racy_asserts)]
|
51 |
#[allow(clippy::enum_glob_use)]
|
52 |
fn check_read_link(
|
32 |
#[cfg(racy_asserts)]
|
33 |
#[allow(clippy::enum_glob_use)]
|
34 |
fn check_remove_dir(
|
32 |
#[cfg(racy_asserts)]
|
33 |
#[allow(clippy::enum_glob_use)]
|
34 |
fn check_remove_file(
|
60 |
#[allow(clippy::too_many_arguments)]
|
61 |
#[allow(clippy::enum_glob_use)]
|
62 |
fn check_rename(
|
26 |
#[cfg(racy_asserts)]
|
27 |
#[allow(clippy::enum_glob_use)]
|
28 |
fn check_stat(
|
140 |
#[cfg(all(not(windows), racy_asserts))]
|
141 |
#[allow(clippy::enum_glob_use)]
|
142 |
fn check_symlink(
|
212 |
#[cfg(all(windows, racy_asserts))]
|
213 |
#[allow(clippy::enum_glob_use)]
|
214 |
fn check_symlink_file(
|
284 |
#[cfg(all(windows, racy_asserts))]
|
285 |
#[allow(clippy::enum_glob_use)]
|
286 |
fn check_symlink_dir(
|
34 |
#[allow(clippy::enum_glob_use)]
|
35 |
impl Direction {
|
74 |
#[allow(clippy::enum_glob_use)]
|
75 |
impl From<Direction> for Vec2 {
|
87 |
#[allow(clippy::enum_glob_use)]
|
88 |
impl From<Direction> for Vec2Int {
|
72 |
pub(crate) const fn from_c_int(err: std::os::raw::c_int) -> Option<Self> {
|
73 |
#[allow(clippy::enum_glob_use)]
|
74 |
use self::Error::*;
|
1317 |
#[test]
|
1318 |
#[allow(clippy::enum_glob_use)]
|
1319 |
#[allow(clippy::cognitive_complexity)]
|
48 |
pub const fn from_i16(x: i16) -> Option<Self> {
|
49 |
#[allow(clippy::enum_glob_use)]
|
50 |
use Pronouns::*;
|
181 |
#[allow(clippy::enum_glob_use)]
|
182 |
const fn convert_open_err(e: &SndFileError) -> SourceError {
|
287 |
#[cfg(test)]
|
288 |
#[allow(clippy::enum_glob_use)]
|
289 |
mod tests
|
117 |
// think that's better. Also it's a pedantic lint.
|
118 |
#[allow(clippy::enum_glob_use)]
|
119 |
use CsvParserState::*;
|
204 |
fn line_numbers_not() {
|
205 |
#[allow(clippy::enum_glob_use)]
|
206 |
use LineNumbers::*;
|
215 |
fn line_numbers_invertible() {
|
216 |
#[allow(clippy::enum_glob_use)]
|
217 |
use LineNumbers::*;
|
205 |
#[allow(clippy::enum_glob_use)]
|
206 |
use perf_branch_sample_type_shift_t::*;
|
41 |
pub fn from(error_code: i32) -> Result<(), InferenceError> {
|
42 |
#[allow(clippy::enum_glob_use)]
|
43 |
use InferenceError::*;
|
77 |
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
78 |
#[allow(clippy::enum_glob_use)]
|
79 |
use Error::*;
|
31 |
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
32 |
#[allow(clippy::enum_glob_use)]
|
33 |
use UriMatchType::*;
|
3 |
#[allow(clippy::enum_glob_use)]
|
4 |
use Lint::*;
|
1 |
#[allow(clippy::enum_glob_use)]
|
2 |
use {
|
1 |
#[allow(clippy::enum_glob_use)]
|
2 |
use {
|
6 |
use super::native::FnBuiltin;
|
7 |
#[allow(clippy::enum_glob_use)]
|
8 |
use crate::tokenizer::{Token, Token::*};
|
285 |
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
286 |
#[allow(clippy::enum_glob_use)]
|
287 |
use Token::*;
|
316 |
pub const fn is_literal(&self) -> bool {
|
317 |
#[allow(clippy::enum_glob_use)]
|
318 |
use Token::*;
|
346 |
pub const fn literal_syntax(&self) -> &'static str {
|
347 |
#[allow(clippy::enum_glob_use)]
|
348 |
use Token::*;
|
447 |
pub const fn is_op_assignment(&self) -> bool {
|
448 |
#[allow(clippy::enum_glob_use)]
|
449 |
use Token::*;
|
469 |
pub const fn get_base_op_from_assignment(&self) -> Option<Self> {
|
470 |
#[allow(clippy::enum_glob_use)]
|
471 |
use Token::*;
|
626 |
#[allow(clippy::enum_glob_use)]
|
627 |
use AccessMode::*;
|
18 |
impl From<png::ColorType> for ColorType {
|
19 |
#[allow(clippy::enum_glob_use)]
|
20 |
fn from(value: png::ColorType) -> Self {
|
33 |
#[allow(clippy::enum_glob_use)]
|
34 |
const fn get_png_color_type(src: ColorType) -> png::ColorType {
|
165 |
fn interpret_internal(ctx: &mut InterpreterContext<'_, SD, STACK_DEPTH>, position: Vec3) {
|
166 |
#[allow(clippy::enum_glob_use)]
|
167 |
use Opcode::*;
|
124 |
fn pass_to_string(pass: super::Passes) -> Option<&'static str> {
|
125 |
#[allow(clippy::enum_glob_use)]
|
126 |
use super::Passes::*;
|
266 |
#[test]
|
267 |
#[allow(clippy::enum_glob_use)]
|
268 |
fn lex() {
|
9 |
#[allow(clippy::enum_glob_use)]
|
10 |
impl std::fmt::Display for Error {
|
47 |
use byte::*;
|
48 |
#[allow(clippy::enum_glob_use)]
|
49 |
use error::Error::*;
|
119 |
fn to_cublas_result(self) -> CublasResult<()> {
|
120 |
#[allow(clippy::enum_glob_use)]
|
121 |
use cublasStatus_t::*;
|
11 |
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
12 |
#[allow(clippy::enum_glob_use)]
|
13 |
use InvalidFormatDescription::*;
|
311 |
/// ```
|
312 |
#[allow(clippy::enum_glob_use, clippy::too_many_lines)]
|
313 |
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
36 |
{
|
37 |
#[allow(clippy::enum_glob_use)]
|
38 |
use InstructionSetTypeId::*;
|
20 |
#[allow(clippy::useless_attribute)]
|
21 |
#[allow(clippy::enum_glob_use)]
|
22 |
use Error::*;
|
1 |
#![allow(clippy::enum_glob_use)]
|
121 |
// correctly used
|
122 |
enum_glob_use,
|
123 |
map_err_ignore,
|
36 |
clippy::doc_markdown,
|
37 |
clippy::enum_glob_use,
|
38 |
clippy::filter_map,
|
330 |
// correctly used
|
331 |
clippy::enum_glob_use,
|
332 |
clippy::if_not_else,
|
219 |
clippy::doc_markdown,
|
220 |
clippy::enum_glob_use,
|
221 |
clippy::explicit_auto_deref,
|
11 |
#![allow(
|
12 |
clippy::enum_glob_use,
|
13 |
clippy::equatable_if_let,
|
28 |
clippy::redundant_closure_call,
|
29 |
clippy::enum_glob_use,
|
30 |
clippy::missing_errors_doc,
|
130 |
clippy::redundant_closure_call,
|
131 |
clippy::enum_glob_use,
|
132 |
clippy::missing_errors_doc,
|
61 |
#![allow(clippy::enum_glob_use, clippy::needless_pass_by_value)]
|
2 |
clippy::bool_to_int_with_if,
|
3 |
clippy::enum_glob_use,
|
4 |
clippy::items_after_statements,
|
53 |
clippy::drop_copy,
|
54 |
clippy::enum_glob_use,
|
55 |
clippy::explicit_auto_deref,
|
15 |
clippy::derive_partial_eq_without_eq,
|
16 |
clippy::enum_glob_use,
|
17 |
clippy::if_same_then_else,
|
5 |
clippy::derive_partial_eq_without_eq,
|
6 |
clippy::enum_glob_use,
|
7 |
clippy::if_same_then_else,
|
5 |
clippy::doc_markdown,
|
6 |
clippy::enum_glob_use,
|
7 |
clippy::if_same_then_else,
|
7 |
clippy::cast_sign_loss,
|
8 |
clippy::enum_glob_use,
|
9 |
clippy::items_after_statements,
|
9 |
#![warn(clippy::all, clippy::pedantic)]
|
10 |
#![allow(clippy::enum_glob_use)]
|
11 |
#![allow(clippy::find_map)]
|
89 |
#![allow(clippy::default_trait_access)]
|
90 |
#![allow(clippy::enum_glob_use)]
|
91 |
#![allow(clippy::match_bool)]
|
14 |
#![allow(clippy::blanket_clippy_restriction_lints,
|
15 |
clippy::enum_glob_use,
|
16 |
clippy::implicit_return,
|
6 |
#![allow(
|
7 |
clippy::enum_glob_use,
|
8 |
clippy::many_single_char_names,
|
9 |
clippy::cast_sign_loss,
|
10 |
clippy::enum_glob_use,
|
11 |
clippy::match_wildcard_for_single_variants,
|
39 |
clippy::cast_sign_loss,
|
40 |
clippy::enum_glob_use,
|
41 |
clippy::enum_variant_names,
|
12 |
#![warn(clippy::pedantic)]
|
13 |
#![allow(clippy::enum_glob_use)]
|
14 |
#![allow(clippy::module_name_repetitions)]
|
38 |
#![allow(clippy::missing_errors_doc)]
|
39 |
#![allow(clippy::enum_glob_use)]
|
3 |
clippy::module_name_repetitions,
|
4 |
clippy::enum_glob_use,
|
5 |
clippy::cast_possible_truncation
|
3 |
clippy::else_if_without_else,
|
4 |
clippy::enum_glob_use,
|
5 |
clippy::float_arithmetic,
|
4 |
clippy::doc_markdown,
|
5 |
clippy::enum_glob_use,
|
6 |
clippy::missing_errors_doc,
|
120 |
mod tests {
|
121 |
#![allow(clippy::enum_glob_use)]
|
122 |
use super::*;
|
15 |
clippy::implicit_return,
|
16 |
clippy::enum_glob_use,
|
17 |
clippy::wildcard_enum_match_arm,
|
142 |
clippy::doc_markdown,
|
143 |
clippy::enum_glob_use,
|
144 |
clippy::missing_errors_doc,
|
152 |
clippy::doc_markdown,
|
153 |
clippy::enum_glob_use,
|
154 |
clippy::missing_errors_doc,
|
151 |
clippy::doc_markdown,
|
152 |
clippy::enum_glob_use,
|
153 |
clippy::let_underscore_drop,
|
67 |
#![allow(clippy::as_conversions, clippy::clone_on_ref_ptr,
|
68 |
clippy::enum_glob_use,
|
69 |
clippy::float_arithmetic, clippy::implicit_return,
|
163 |
#![allow(clippy::wildcard_imports)] // I don't generally like them either but can be used well
|
164 |
#![allow(clippy::enum_glob_use)] // Same as wildcards
|
165 |
#![allow(clippy::manual_non_exhaustive)] // Not available in v1.36
|
124 |
clippy::similar_names,
|
125 |
clippy::enum_glob_use
|
126 |
)]
|
11 |
#![allow(clippy::enum_glob_use)]
|
12 |
use crate::ast::{BinaryOperator, BranchAccess, Expression, Primary, UnaryOperator};
|
239 |
clippy::missing_errors_doc,
|
240 |
clippy::enum_glob_use,
|
241 |
clippy::struct_excessive_bools,
|
13 |
clippy::implicit_return,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
13 |
clippy::implicit_return,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
13 |
clippy::implicit_return,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
13 |
clippy::implicit_return,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
13 |
clippy::implicit_return,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
5 |
clippy::cast_sign_loss,
|
6 |
clippy::enum_glob_use,
|
7 |
clippy::module_name_repetitions,
|
327 |
clippy::doc_markdown,
|
328 |
clippy::enum_glob_use,
|
329 |
clippy::items_after_statements,
|
13 |
// I'm not sure if I like this one
|
14 |
#![allow (clippy::enum_glob_use)]
|
3 |
// I'm not sure if I like this one
|
4 |
#![allow (clippy::enum_glob_use)]
|
16 |
clippy::panic,
|
17 |
clippy::enum_glob_use,
|
18 |
clippy::exhaustive_enums,
|
318 |
#![allow(
|
319 |
clippy::enum_glob_use,
|
320 |
clippy::for_loops_over_fallibles,
|
1 |
#![allow(clippy::cast_lossless, clippy::enum_glob_use)]
|
31 |
clippy::default_trait_access, // Alternative can be complex types, not more clear
|
32 |
clippy::enum_glob_use, // Use Enum globs in match statements
|
33 |
clippy::let_underscore_drop, // Typical of Tensor in-place ops.
|
147 |
clippy::derive_partial_eq_without_eq,
|
148 |
clippy::enum_glob_use,
|
149 |
clippy::manual_find,
|
1 |
#![allow(clippy::enum_glob_use)]
|
2 |
use crate::{Channel, ColorError, Hex, PrimaryColor, PrimaryColor::*, RGB, RGBA};
|
3 |
#![allow(clippy::wildcard_imports)]
|
4 |
#![allow(clippy::enum_glob_use)]
|
5 |
#![allow(clippy::unused_async)]
|
20 |
#![allow(clippy::type_complexity)]
|
21 |
#![allow(clippy::enum_glob_use)]
|
22 |
// Note: If you change this remember to update `README.md`. To do so run `./tools/update-readme.sh`.
|
1 |
#![allow(clippy::enum_glob_use)]
|
2 |
use crate::types::Token::{self, *};
|
26 |
clippy::match_on_vec_items, // rustc_codegen_spirv has less strict panic requirements than other embark projects
|
27 |
clippy::enum_glob_use, // pretty useful pattern with some codegen'd enums (e.g. rspirv::spirv::Op)
|
28 |
clippy::todo, // still lots to implement :)
|
1 |
#![allow(
|
2 |
clippy::enum_glob_use,
|
3 |
clippy::must_use_candidate,
|
152 |
clippy::doc_markdown,
|
153 |
clippy::enum_glob_use,
|
154 |
clippy::from_iter_instead_of_collect,
|
2 |
clippy::derive_partial_eq_without_eq,
|
3 |
clippy::enum_glob_use,
|
4 |
clippy::must_use_candidate
|
5 |
#![allow(
|
6 |
clippy::enum_glob_use, // TODO: Add? Used a lot on the opcodes
|
7 |
)]
|
127 |
derive_partial_eq_without_eq,
|
128 |
enum_glob_use,
|
129 |
explicit_auto_deref,
|
42 |
clippy::doc_markdown,
|
43 |
clippy::enum_glob_use,
|
44 |
clippy::indexing_slicing,
|
20 |
clippy::doc_markdown,
|
21 |
clippy::enum_glob_use,
|
22 |
clippy::items_after_statements,
|
36 |
clippy::doc_markdown,
|
37 |
clippy::enum_glob_use,
|
38 |
clippy::filter_map,
|
337 |
// correctly used
|
338 |
clippy::enum_glob_use,
|
339 |
clippy::if_not_else,
|
338 |
// correctly used
|
339 |
clippy::enum_glob_use,
|
340 |
clippy::if_not_else,
|
330 |
// correctly used
|
331 |
clippy::enum_glob_use,
|
332 |
clippy::if_not_else,
|
146 |
clippy::doc_markdown,
|
147 |
clippy::enum_glob_use,
|
148 |
clippy::missing_errors_doc,
|
44 |
clippy::redundant_closure_call,
|
45 |
clippy::enum_glob_use,
|
46 |
clippy::missing_errors_doc,
|
5 |
#![allow(clippy::similar_names, clippy::wildcard_imports, clippy::enum_glob_use)]
|
42 |
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
43 |
#![allow(clippy::enum_glob_use)]
|
44 |
use Error::*;
|
73 |
fn source(&self) -> Option<&(dyn Err + 'static)> {
|
74 |
#![allow(clippy::enum_glob_use)]
|
75 |
use Error::*;
|
11 |
clippy::too_many_lines,
|
12 |
clippy::enum_glob_use
|
13 |
)]
|
12 |
#![warn(clippy::pedantic)]
|
13 |
#![allow(clippy::enum_glob_use)]
|
14 |
#![allow(clippy::module_name_repetitions)]
|
38 |
clippy::cast_sign_loss,
|
39 |
clippy::enum_glob_use,
|
40 |
clippy::inline_always,
|
215 |
clippy::doc_markdown,
|
216 |
clippy::enum_glob_use,
|
217 |
clippy::iter_not_returning_iterator, // https://github.com/rust-lang/rust-clippy/issues/8285
|
226 |
clippy::doc_markdown,
|
227 |
clippy::enum_glob_use,
|
228 |
clippy::iter_not_returning_iterator, // https://github.com/rust-lang/rust-clippy/issues/8285
|
1 |
#![doc = include_str!("../README.md")]
|
2 |
#![allow(clippy::enum_glob_use, clippy::needless_pass_by_value)]
|
43 |
// TODO: Fix false positives
|
44 |
#![allow(clippy::enum_glob_use)]
|
45 |
// TODO: False positives <https://github.com/rust-lang/rust-clippy/issues/5917>
|
45 |
// TODO: To many false positives
|
46 |
#![allow(clippy::enum_glob_use)]
|
47 |
// TODO: False positives <https://github.com/rust-lang/rust-clippy/issues/5917>
|