diff options
| author | David Wood <david@davidtw.co> | 2018-08-09 12:48:31 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-08-14 11:12:10 +0200 |
| commit | dc5a6571a685189039feb9512dbcb599c1ef4102 (patch) | |
| tree | 07f36d770e4efcdec89886e03f5e1fcbcad822ac /src | |
| parent | 2ad663c1cd7ac8df9eea010cb0f3f40ed6d8707a (diff) | |
Fixed truncated path not being normalized.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/issues/issue-22638.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/issues/issue-22638.stderr | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-22638.rs b/src/test/ui/issues/issue-22638.rs index 1c534ebbd43..10ea1077ede 100644 --- a/src/test/ui/issues/issue-22638.rs +++ b/src/test/ui/issues/issue-22638.rs @@ -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"] diff --git a/src/test/ui/issues/issue-22638.stderr b/src/test/ui/issues/issue-22638.stderr index a549c00a341..299d74b08b8 100644 --- a/src/test/ui/issues/issue-22638.stderr +++ b/src/test/ui/issues/issue-22638.stderr @@ -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 |
