librustc: Forbid type implementations on typedefs.
This commit is contained in:
parent
670ab8ac36
commit
37abf4bad0
8 changed files with 192 additions and 83 deletions
|
|
@ -56,6 +56,3 @@ fn context_res() -> context_res {
|
|||
|
||||
pub type context = arc_destruct<context_res>;
|
||||
|
||||
pub impl context {
|
||||
fn socket(&self) { }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue