mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
29 lines
823 B
Text
29 lines
823 B
Text
error: consider bringing this path into scope with the `use` keyword
|
|
--> $DIR/absolute_paths.rs:40:5
|
|
|
|
|
LL | std::f32::MAX;
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::absolute-paths` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::absolute_paths)]`
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
|
--> $DIR/absolute_paths.rs:41:5
|
|
|
|
|
LL | core::f32::MAX;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
|
--> $DIR/absolute_paths.rs:42:5
|
|
|
|
|
LL | ::core::f32::MAX;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: consider bringing this path into scope with the `use` keyword
|
|
--> $DIR/absolute_paths.rs:58:5
|
|
|
|
|
LL | ::std::f32::MAX;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|