Fixed truncated path not being normalized.

This commit is contained in:
David Wood 2018-08-09 12:48:31 +02:00
parent 2ad663c1cd
commit dc5a6571a6
No known key found for this signature in database
GPG Key ID: 01760B4F9F53F154
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// normalize-stderr-test: "<\[closure@.+`" -> "$$CLOSURE`"
#![allow(unused)]
#![recursion_limit = "20"]

View File

@ -1,5 +1,5 @@
error: reached the type-length limit while instantiating `D::matches::<[closure@/home/david/projects/rust/workdirs/rust1/s...`
--> $DIR/issue-22638.rs:60:5
error: reached the type-length limit while instantiating `D::matches::$CLOSURE`
--> $DIR/issue-22638.rs:62:5
|
LL | / pub fn matches<F: Fn()>(&self, f: &F) {
LL | | //~^ ERROR reached the type-length limit while instantiating `D::matches::<[closure