diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-09-12 17:21:53 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-09-26 11:55:53 -0400 |
| commit | 9e4649ebf80679090786074c020d3d2e2c0e8a84 (patch) | |
| tree | f6dba259f2ea8c85124b15226cd8f56f9e6e5d0b /src/test/compile-fail | |
| parent | d7bb575b063d10d3dcc4de5facb7453c419d3086 (diff) | |
| download | rust-9e4649ebf80679090786074c020d3d2e2c0e8a84.tar.gz rust-9e4649ebf80679090786074c020d3d2e2c0e8a84.zip | |
remove random newlines from error messages, fix compile-fail test
That kind of formatting seems like the job of other code.
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/object-lifetime-default-mybox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/object-lifetime-default-mybox.rs b/src/test/compile-fail/object-lifetime-default-mybox.rs index 014b0c1e80e..54657e76e97 100644 --- a/src/test/compile-fail/object-lifetime-default-mybox.rs +++ b/src/test/compile-fail/object-lifetime-default-mybox.rs @@ -34,7 +34,7 @@ fn load1<'a,'b>(a: &'a MyBox<SomeTrait>, b: &'b MyBox<SomeTrait>) -> &'b MyBox<SomeTrait> { - a //~ ERROR E0312 + a //~ ERROR lifetime mismatch } fn load2<'a>(ss: &MyBox<SomeTrait+'a>) -> MyBox<SomeTrait+'a> { |
