librustc: Don't accept `as Trait` anymore; fix all occurrences of it. 

r? @nikomatsakis