]> git.lizzy.rs Git - rust.git/commit
Replace `assert_no_late_bound_regions` with
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 13 Feb 2015 22:23:45 +0000 (17:23 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 18 Feb 2015 20:23:34 +0000 (15:23 -0500)
commit48c70d68637536cc2922c1a7c2a612877705a2ed
tree87a0bf93f153b76d620bdec3f0a0ef49b9bf2b93
parent92d65ab2e9d805824b69565129fa3780e50f121e
Replace `assert_no_late_bound_regions` with
`no_late_bound_regions().unwrap()`, which allows us to write code that
doesn't necessarily *fail* when there are higher-ranked trait bounds.
src/librustc/middle/expr_use_visitor.rs
src/librustc/middle/mem_categorization.rs
src/librustc/middle/ty.rs
src/librustc_trans/trans/expr.rs
src/librustc_typeck/check/_match.rs
src/librustc_typeck/check/callee.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/check/regionck.rs
src/librustc_typeck/check/wf.rs