summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr')
-rw-r--r--src/test/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/test/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr b/src/test/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr
new file mode 100644
index 000000000..e8e069708
--- /dev/null
+++ b/src/test/ui/typeck/suggest-adding-missing-zero-to-floating-point-number.stderr
@@ -0,0 +1,80 @@
+error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
+ --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:4:7
+ |
+LL | 2.e1;
+ | ^^
+ |
+help: If the number is meant to be a floating point number, consider adding a `0` after the period
+ |
+LL | 2.0e1;
+ | +
+
+error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
+ --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:5:7
+ |
+LL | 2.E1;
+ | ^^
+ |
+help: If the number is meant to be a floating point number, consider adding a `0` after the period
+ |
+LL | 2.0E1;
+ | +
+
+error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
+ --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:6:7
+ |
+LL | 2.f32;
+ | ^^^
+ |
+help: If the number is meant to be a floating point number, consider adding a `0` after the period
+ |
+LL | 2.0f32;
+ | +
+
+error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
+ --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:7:7
+ |
+LL | 2.f64;
+ | ^^^
+ |
+help: If the number is meant to be a floating point number, consider adding a `0` after the period
+ |
+LL | 2.0f64;
+ | +
+
+error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
+ --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:8:7
+ |
+LL | 2.e+12;
+ | ^
+ |
+help: If the number is meant to be a floating point number, consider adding a `0` after the period
+ |
+LL | 2.0e+12;
+ | +
+
+error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
+ --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:9:7
+ |
+LL | 2.e-12;
+ | ^
+ |
+help: If the number is meant to be a floating point number, consider adding a `0` after the period
+ |
+LL | 2.0e-12;
+ | +
+
+error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
+ --> $DIR/suggest-adding-missing-zero-to-floating-point-number.rs:10:7
+ |
+LL | 2.e1f32;
+ | ^^^^^
+ |
+help: If the number is meant to be a floating point number, consider adding a `0` after the period
+ |
+LL | 2.0e1f32;
+ | +
+
+error: aborting due to 7 previous errors
+
+For more information about this error, try `rustc --explain E0610`.