You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
274: v0.4: Prepare for uplift of drop-bounds lint r=taiki-e a=taiki-e
This is the backport of #273
cc #272
Co-authored-by: Taiki Endo <te316e89@gmail.com>
pointer-structural-match allow pointers are not structural-match
29
29
private-doc-tests allow detects code samples in docs of private items not documented by rustdoc
30
30
single-use-lifetimes allow detects lifetime parameters that are only used once
31
31
trivial-casts allow detects trivial casts which could be removed
@@ -61,13 +61,15 @@ Lint checks provided by rustc:
61
61
improper-ctypes warn proper use of libc types in foreign modules
62
62
improper-ctypes-definitions warn proper use of libc types in foreign item definitions
63
63
incomplete-features warn incomplete features that may function improperly in some or all cases
64
+
indirect-structural-match warn constant used in pattern contains value of non-structural-match type in a field or a variant
64
65
inline-no-sanitize warn detects incompatible use of `#[inline(always)]` and `#[no_sanitize(...)]`
65
66
invalid-codeblock-attributes warn codeblock attribute looks a lot like a known one
66
67
invalid-value warn an invalid value is being created (such as a NULL reference)
67
68
irrefutable-let-patterns warn detects irrefutable patterns in if-let and while-let statements
68
69
late-bound-lifetime-arguments warn detects generic lifetime arguments in path segments with late bound lifetime parameters
69
70
mixed-script-confusables warn detects Unicode scripts whose mixed script confusables codepoints are solely used
70
71
mutable-borrow-reservation-conflict warn reservation of a two-phased borrow conflicts with other shared borrows
72
+
nontrivial-structural-match warn constant used in pattern of non-structural-match type and the constant's initializer expression contains values of non-structural-match types
71
73
non-camel-case-types warn types, variants, traits and type parameters should have camel case names
72
74
non-shorthand-field-patterns warn using `Struct { x: x }` instead of `Struct { x }` in a pattern
73
75
non-snake-case warn variables, methods, functions, lifetime parameters and modules should have snake case names
@@ -133,11 +135,11 @@ Lint groups provided by rustc:
0 commit comments