]> git.lizzy.rs Git - rust.git/commit
Teach variance checker about the lifetime bounds that appear in trait object types.
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 27 Oct 2014 18:03:25 +0000 (14:03 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Fri, 31 Oct 2014 21:39:41 +0000 (17:39 -0400)
commit9a5e7ba4c7eefb2f40389966c562fbadcc778625
tree220c90e9520b9444375a18a2a57ab8c7b1dc1219
parent5e834243b6837a2386d623e1d546a3d25057b8f5
Teach variance checker about the lifetime bounds that appear in trait object types.
src/librustc/middle/typeck/variance.rs
src/test/compile-fail/variance-trait-object-bound.rs [new file with mode: 0644]
src/test/run-pass/issue-16668.rs