diff options
Diffstat (limited to 'src/test/run-pass/numeric-method-autoexport.rs')
| -rw-r--r-- | src/test/run-pass/numeric-method-autoexport.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-pass/numeric-method-autoexport.rs b/src/test/run-pass/numeric-method-autoexport.rs index f8184d248ff..b4d079d79d6 100644 --- a/src/test/run-pass/numeric-method-autoexport.rs +++ b/src/test/run-pass/numeric-method-autoexport.rs @@ -15,6 +15,9 @@ // necessary. Testing the methods of the impls is done within the source // file for each numeric type. +use std::ops::Add; +use std::num::ToPrimitive; + pub fn main() { // ints // num |
