]> git.lizzy.rs Git - rust.git/commit
simplify `AnonTypeDecl` in the impl trait code
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 6 Dec 2017 22:11:41 +0000 (17:11 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 20 Dec 2017 19:04:50 +0000 (14:04 -0500)
commitf3335c61693135cb92ec659e04e4a542eabef874
tree51b1934e02f3730677dcc9f56edbebeab6e489bb
parent81622c6b02536bdcf56145beb317da0d336703c1
simplify `AnonTypeDecl` in the impl trait code

We don't need to know the vector of region bounds; we only care if
there were any region bounds at all.
src/librustc_typeck/check/mod.rs
src/librustc_typeck/check/regionck.rs