]> git.lizzy.rs Git - rust.git/commit
regionck.rs: correct misuse of ty.regions() rather than regions()
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 11 Aug 2015 13:54:06 +0000 (09:54 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 12 Aug 2015 21:58:57 +0000 (17:58 -0400)
commitfb1b6fca3638f0e3edf5a1aca8cb379d95cf2ab8
treef026230db3a5f626f9b2c020a7603d86c230dd91
parentc9a49f93ac8e9cdbaa22b33c9e3b9a9adffd360c
regionck.rs: correct misuse of ty.regions() rather than regions()
and add a test that was (incorrectly) failing to compile with
existing code
src/librustc_typeck/check/regionck.rs
src/test/compile-fail/regions-outlives-projection-hrtype.rs [new file with mode: 0644]