File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ pub mod trunc;
14
14
15
15
public_test_dep ! {
16
16
/// Trait for some basic operations on floats
17
+ #[ allow( dead_code) ]
17
18
pub ( crate ) trait Float :
18
19
Copy
19
20
+ core:: fmt:: Debug
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ pub use self::leading_zeros::__clzsi2;
13
13
14
14
public_test_dep ! {
15
15
/// Trait for some basic operations on integers
16
+ #[ allow( dead_code) ]
16
17
pub ( crate ) trait Int :
17
18
Copy
18
19
+ core:: fmt:: Debug
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ macro_rules! conv {
155
155
stringify!( $fn)
156
156
) ;
157
157
}
158
- } ) ;
158
+ } )
159
159
} ;
160
160
}
161
161
Original file line number Diff line number Diff line change 1
1
// makes configuration easier
2
2
#![ allow( unused_macros) ]
3
3
4
- use compiler_builtins:: float:: Float ;
5
4
use testcrate:: * ;
6
5
7
6
/// Make sure that the the edge case tester and randomized tester don't break, and list examples of
@@ -138,6 +137,7 @@ macro_rules! pow {
138
137
#[ test]
139
138
fn float_pow ( ) {
140
139
use compiler_builtins:: float:: pow:: { __powidf2, __powisf2} ;
140
+ use compiler_builtins:: float:: Float ;
141
141
142
142
pow ! (
143
143
f32 , 1e-4 , __powisf2;
You can’t perform that action at this time.
0 commit comments