]> git.lizzy.rs Git - rust.git/commit
rewrite foreign types lint not to trawl the HIR
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 16 Mar 2016 19:53:08 +0000 (15:53 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 24 Mar 2016 18:01:28 +0000 (14:01 -0400)
commitc74339052d990fa28472be60fab10eb9f0258b42
tree54580c08fe91e2c69f518edd6362404e27c83c6d
parentdc1f6831eb0d0e5cca16395f14b7406ff85c4c3d
rewrite foreign types lint not to trawl the HIR

It no longer reads from `ast_ty_to_ty_cache`, which was very wrong. It
also correctly handles higher-ranked regions.
src/librustc_lint/types.rs