update error messages in ui tests

This commit is contained in:
Trevor Spiteri 2024-04-12 15:15:52 +02:00
parent 30d787ae9b
commit d8e6b81b59
3 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,10 @@ LL | const M: usize = (f64::from(N) * std::f64::LOG10_2) as usize;
| |
help: consider importing one of these items 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::f32::consts::LOG10_2;
| |
LL + use std::f64::consts::LOG10_2; LL + use std::f64::consts::LOG10_2;

View File

@ -107,6 +107,10 @@ LL | (E::TupleWithFields(/* fields */)).foo();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: consider importing one of these items instead 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::f32::consts::E;
| |
LL + use std::f64::consts::E; LL + use std::f64::consts::E;

View File

@ -84,6 +84,10 @@ LL | let _: E = m::f;
| ~ | ~
help: consider importing one of these items instead 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::f32::consts::E;
| |
LL + use std::f64::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 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::f32::consts::E;
| |
LL + use std::f64::consts::E; LL + use std::f64::consts::E;