diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-11-13 00:02:42 +1100 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-11-13 03:46:03 +1100 |
| commit | de938b6ca1a2b6b6df65d5935c765a7c25fbce84 (patch) | |
| tree | f8b7c283989f7ac9a7694989cfd3a4be71e74dee /src/test/compile-fail/implicit-method-bind.rs | |
| parent | e965ba85ca689ad77f63b7f0af9d7e337dcb4825 (diff) | |
Remove Signed trait and add SignedInt trait
The methods have been moved into Float and SignedInt
Diffstat (limited to 'src/test/compile-fail/implicit-method-bind.rs')
| -rw-r--r-- | src/test/compile-fail/implicit-method-bind.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/compile-fail/implicit-method-bind.rs b/src/test/compile-fail/implicit-method-bind.rs index 06a4088617a..34367f06793 100644 --- a/src/test/compile-fail/implicit-method-bind.rs +++ b/src/test/compile-fail/implicit-method-bind.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +use std::num::SignedInt; + fn main() { let _f = 10i.abs; //~ ERROR attempted to take value of method } |
