]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/excessive_precision.stderr
iterate List by value
[rust.git] / tests / ui / excessive_precision.stderr
index 8941bcfd86d894fce44a0098671e2619b7548b76..599773f2f70c4378984b5c1720d56b36768cb264 100644 (file)
@@ -108,71 +108,5 @@ error: float has excessive precision
 LL |     let bad_bige32: f32 = 1.123_456_788_888E-10;
    |                           ^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `1.123_456_8E-10`
 
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:65:18
-   |
-LL |     let _: f32 = 16_777_217.0;
-   |                  ^^^^^^^^^^^^ help: consider changing the type or replacing it with: `16_777_216.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:66:18
-   |
-LL |     let _: f32 = 16_777_219.0;
-   |                  ^^^^^^^^^^^^ help: consider changing the type or replacing it with: `16_777_220.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:67:18
-   |
-LL |     let _: f32 = 16_777_219.;
-   |                  ^^^^^^^^^^^ help: consider changing the type or replacing it with: `16_777_220.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:68:18
-   |
-LL |     let _: f32 = 16_777_219.000;
-   |                  ^^^^^^^^^^^^^^ help: consider changing the type or replacing it with: `16_777_220.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:69:13
-   |
-LL |     let _ = 16_777_219f32;
-   |             ^^^^^^^^^^^^^ help: consider changing the type or replacing it with: `16_777_220.0_f32`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:70:19
-   |
-LL |     let _: f32 = -16_777_219.0;
-   |                   ^^^^^^^^^^^^ help: consider changing the type or replacing it with: `16_777_220.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:71:18
-   |
-LL |     let _: f64 = 9_007_199_254_740_993.0;
-   |                  ^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or replacing it with: `9_007_199_254_740_992.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:72:18
-   |
-LL |     let _: f64 = 9_007_199_254_740_993.;
-   |                  ^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or replacing it with: `9_007_199_254_740_992.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:73:18
-   |
-LL |     let _: f64 = 9_007_199_254_740_993.000;
-   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or replacing it with: `9_007_199_254_740_992.0`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:74:13
-   |
-LL |     let _ = 9_007_199_254_740_993f64;
-   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or replacing it with: `9_007_199_254_740_992.0_f64`
-
-error: literal cannot be represented as the underlying type without loss of precision
-  --> $DIR/excessive_precision.rs:75:19
-   |
-LL |     let _: f64 = -9_007_199_254_740_993.0;
-   |                   ^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or replacing it with: `9_007_199_254_740_992.0`
-
-error: aborting due to 29 previous errors
+error: aborting due to 18 previous errors