Removed @self and @Trait.
This commit is contained in:
parent
c13a929d58
commit
b2d30b72bf
122 changed files with 627 additions and 1694 deletions
|
|
@ -8,14 +8,13 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[feature(managed_boxes)];
|
||||
#[crate_id="a"];
|
||||
#[crate_type = "lib"];
|
||||
|
||||
pub trait i<T> { }
|
||||
|
||||
pub fn f<T>() -> @i<T> {
|
||||
pub fn f<T>() -> ~i<T> {
|
||||
impl<T> i<T> for () { }
|
||||
|
||||
@() as @i<T>
|
||||
~() as ~i<T>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue