Skip to content

Commit 3af5fe3

Browse files
committed
---
yaml --- r: 176354 b: refs/heads/try c: 626db33 h: refs/heads/master v: v3
1 parent 833de7a commit 3af5fe3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: a530cc9706324ad44dba464d541a807eb5afdb08
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 777435990e0e91df6b72ce80c9b6fa485eeb5daa
5-
refs/heads/try: fe0868b89b27e190562e9ae3d504693c902eace0
5+
refs/heads/try: 626db33bc8c0f45eef88d60e845032c9953f6a3a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/test/run-pass/issue-20971.rs renamed to branches/try/src/test/run-fail/issue-20971.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
// Regression test for Issue #20971.
1212

13+
// error-pattern:Hello, world!
14+
1315
pub trait Parser {
1416
type Input;
1517
fn parse(&mut self, input: <Self as Parser>::Input);
@@ -23,7 +25,7 @@ impl Parser for () {
2325
}
2426

2527
pub fn many() -> Box<Parser<Input=<() as Parser>::Input> + 'static> {
26-
panic!()
28+
panic!("Hello, world!")
2729
}
2830

2931
fn main() {

0 commit comments

Comments
 (0)