move strict provenance lints to new feature gate, remove old feature gates
This commit is contained in:
parent
c3e928d8dd
commit
56ee492a6e
89 changed files with 40 additions and 127 deletions
|
@ -2667,7 +2667,6 @@ declare_lint! {
|
|||
/// ### Example
|
||||
///
|
||||
/// ```rust
|
||||
/// #![feature(strict_provenance)]
|
||||
/// #![warn(fuzzy_provenance_casts)]
|
||||
///
|
||||
/// fn main() {
|
||||
|
@ -2701,7 +2700,7 @@ declare_lint! {
|
|||
pub FUZZY_PROVENANCE_CASTS,
|
||||
Allow,
|
||||
"a fuzzy integer to pointer cast is used",
|
||||
@feature_gate = strict_provenance;
|
||||
@feature_gate = strict_provenance_lints;
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
@ -2711,7 +2710,6 @@ declare_lint! {
|
|||
/// ### Example
|
||||
///
|
||||
/// ```rust
|
||||
/// #![feature(strict_provenance)]
|
||||
/// #![warn(lossy_provenance_casts)]
|
||||
///
|
||||
/// fn main() {
|
||||
|
@ -2747,7 +2745,7 @@ declare_lint! {
|
|||
pub LOSSY_PROVENANCE_CASTS,
|
||||
Allow,
|
||||
"a lossy pointer to integer cast is used",
|
||||
@feature_gate = strict_provenance;
|
||||
@feature_gate = strict_provenance_lints;
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue