]> git.lizzy.rs Git - rust.git/commit
Project region bounds out of the trait when deciding whether a
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 16 Jan 2015 19:57:07 +0000 (14:57 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Fri, 16 Jan 2015 21:43:22 +0000 (16:43 -0500)
commitbd621f0ccb3b6c657a056fd949ed105f77a7a01f
tree0cd558e1736e8953da374f7c656faafff22e7efc
parentee2bfae011e368e224d6d4f4c9fad13606ee99da
Project region bounds out of the trait when deciding whether a
projection type outlives a given region. Fixes #20890.
src/librustc/middle/traits/fulfill.rs
src/librustc_typeck/check/regionck.rs
src/test/compile-fail/regions-assoc-type-region-bound-in-trait-not-met.rs [new file with mode: 0644]
src/test/compile-fail/regions-assoc-type-static-bound-in-trait-not-met.rs [new file with mode: 0644]
src/test/run-pass/regions-assoc-type-region-bound.rs [new file with mode: 0644]
src/test/run-pass/regions-assoc-type-static-bound.rs [new file with mode: 0644]