Skip to content

Commit b4ff774

Browse files
committed
Update stderr of float_cmp test
1 parent 03f584c commit b4ff774

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/ui/float_cmp.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,31 @@ note: `f32::EPSILON` and `f64::EPSILON` are available.
3535
LL | twice(x) != twice(ONE as f64);
3636
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3737

38-
error: strict comparison of f32 or f64
38+
error: strict comparison of `f32` or `f64`
3939
--> $DIR/float_cmp.rs:83:5
4040
|
4141
LL | assert_eq!(a1[0], a2[0]);
4242
| ^^^^^^^^^^^^^^^^^^^^^^^^^
4343
|
44-
note: std::f32::EPSILON and std::f64::EPSILON are available.
44+
note: `std::f32::EPSILON` and `std::f64::EPSILON` are available.
4545
--> $DIR/float_cmp.rs:83:5
4646
|
4747
LL | assert_eq!(a1[0], a2[0]);
4848
| ^^^^^^^^^^^^^^^^^^^^^^^^^
49-
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
49+
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
5050

51-
error: strict comparison of f32 or f64
51+
error: strict comparison of `f32` or `f64`
5252
--> $DIR/float_cmp.rs:85:5
5353
|
5454
LL | assert_eq!(&a1[0], &a2[0]);
5555
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
5656
|
57-
note: std::f32::EPSILON and std::f64::EPSILON are available.
57+
note: `std::f32::EPSILON` and `std::f64::EPSILON` are available.
5858
--> $DIR/float_cmp.rs:85:5
5959
|
6060
LL | assert_eq!(&a1[0], &a2[0]);
6161
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
62-
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
62+
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
6363

6464
error: aborting due to 5 previous errors
6565

0 commit comments

Comments
 (0)