]> git.lizzy.rs Git - rust.git/commit
rustc: Restrict the scope of a borrow on def_map
authorAlex Crichton <alex@alexcrichton.com>
Fri, 25 Apr 2014 21:42:36 +0000 (14:42 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 25 Apr 2014 21:45:12 +0000 (14:45 -0700)
commit87bac6db136e3470ef5c05203d47a6ffa058f8c5
tree017b8f14d63412ee53eb863d6524f49f647858a1
parenteea4909a8713a54b3c47e871a70baf6c722999a3
rustc: Restrict the scope of a borrow on def_map

This addresses the ICE from #13763, but it does not allow the test to compile,
due to #13768. An alternate test was checked in in the meantime.

Closes #13763
src/librustc/middle/typeck/check/mod.rs
src/test/run-pass/issue-13763.rs [new file with mode: 0644]