mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
d56cdd48cb
Update tests
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
warning: unknown lint: `fuzzy_provenance_casts`
|
|
--> $DIR/feature-gate-strict_provenance.rs:3:1
|
|
|
|
|
LL | #![deny(fuzzy_provenance_casts)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the `fuzzy_provenance_casts` lint is unstable
|
|
= note: see issue #95228 <https://github.com/rust-lang/rust/issues/95228> for more information
|
|
= help: add `#![feature(strict_provenance)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
= note: `#[warn(unknown_lints)]` on by default
|
|
|
|
warning: unknown lint: `lossy_provenance_casts`
|
|
--> $DIR/feature-gate-strict_provenance.rs:5:1
|
|
|
|
|
LL | #![deny(lossy_provenance_casts)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the `lossy_provenance_casts` lint is unstable
|
|
= note: see issue #95228 <https://github.com/rust-lang/rust/issues/95228> for more information
|
|
= help: add `#![feature(strict_provenance)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
warning: 2 warnings emitted
|
|
|