mirror of
https://github.com/rust-lang/rust
synced 2024-09-30 22:04:36 +00:00
update error messages in ui tests
This commit is contained in:
parent
30d787ae9b
commit
d8e6b81b59
|
@ -6,6 +6,10 @@ LL | const M: usize = (f64::from(N) * std::f64::LOG10_2) as usize;
|
|||
|
|
||||
help: consider importing one of these items
|
||||
|
|
||||
LL + use std::f128::consts::LOG10_2;
|
||||
|
|
||||
LL + use std::f16::consts::LOG10_2;
|
||||
|
|
||||
LL + use std::f32::consts::LOG10_2;
|
||||
|
|
||||
LL + use std::f64::consts::LOG10_2;
|
||||
|
|
|
@ -107,6 +107,10 @@ LL | (E::TupleWithFields(/* fields */)).foo();
|
|||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
help: consider importing one of these items instead
|
||||
|
|
||||
LL + use std::f128::consts::E;
|
||||
|
|
||||
LL + use std::f16::consts::E;
|
||||
|
|
||||
LL + use std::f32::consts::E;
|
||||
|
|
||||
LL + use std::f64::consts::E;
|
||||
|
|
|
@ -84,6 +84,10 @@ LL | let _: E = m::f;
|
|||
| ~
|
||||
help: consider importing one of these items instead
|
||||
|
|
||||
LL + use std::f128::consts::E;
|
||||
|
|
||||
LL + use std::f16::consts::E;
|
||||
|
|
||||
LL + use std::f32::consts::E;
|
||||
|
|
||||
LL + use std::f64::consts::E;
|
||||
|
@ -121,6 +125,10 @@ LL | let _: E = (E::Fn(/* fields */));
|
|||
| ~~~~~~~~~~~~~~~~~~~~~
|
||||
help: consider importing one of these items instead
|
||||
|
|
||||
LL + use std::f128::consts::E;
|
||||
|
|
||||
LL + use std::f16::consts::E;
|
||||
|
|
||||
LL + use std::f32::consts::E;
|
||||
|
|
||||
LL + use std::f64::consts::E;
|
||||
|
|
Loading…
Reference in a new issue