]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #51248 - fabric-and-ink:newtype_index_debrujin, r=nikomatsakis
authorbors <bors@rust-lang.org>
Mon, 18 Jun 2018 23:14:50 +0000 (23:14 +0000)
committerbors <bors@rust-lang.org>
Mon, 18 Jun 2018 23:14:50 +0000 (23:14 +0000)
Declare DebruijnIndex via newtype_index macro

Part of #49887

Declare `DebruijnIndex` via the `newtype_index` macro.

1  2 
src/librustc/middle/resolve_lifetime.rs
src/librustc/ty/mod.rs
src/librustc/ty/sty.rs
src/librustc/ty/util.rs
src/librustc/util/ppaux.rs
src/librustc_driver/test.rs
src/librustc_typeck/collect.rs
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge