`impl Trait for .. {}` is an obsolete syntax
Created by: yangchengjian
error: `impl Trait for .. {}` is an obsolete syntax
--> /home/captcha/HoldonBeginner/Sft/Github/redox-os/redox/rust/src/libcore/marker.rs:50:1
|
50 | unsafe impl Send for .. { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use `auto trait Trait {}` instead
error: `impl Trait for .. {}` is an obsolete syntax
--> /home/captcha/HoldonBeginner/Sft/Github/redox-os/redox/rust/src/libcore/marker.rs:355:1
|
355 | unsafe impl Sync for .. { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use `auto trait Trait {}` instead
error: `impl Trait for .. {}` is an obsolete syntax
--> /home/captcha/HoldonBeginner/Sft/Github/redox-os/redox/rust/src/libcore/marker.rs:570:1
|
570 | unsafe impl Freeze for .. {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use `auto trait Trait {}` instead
Compiling filetime v0.1.14
error[E0225]: only auto traits can be used as additional traits in a trait object
--> /home/captcha/HoldonBeginner/Sft/Github/redox-os/redox/rust/src/libcore/any.rs:133:27
|
133 | impl fmt::Debug for Any + Send {
| ^^^^ non-auto additional trait
error[E0225]: only auto traits can be used as additional traits in a trait object
--> /home/captcha/HoldonBeginner/Sft/Github/redox-os/redox/rust/src/libcore/any.rs:244:10
|
244 | impl Any+Send {
| ^^^^ non-auto additional trait
error: aborting due to 5 previous errors
error: Could not compile `core`.