diff options
| author | Andrew Dunham <andrew@du.nham.ca> | 2014-08-30 23:48:31 -0700 |
|---|---|---|
| committer | Andrew Dunham <andrew@du.nham.ca> | 2014-08-30 23:48:31 -0700 |
| commit | 5bb61963787f3e6e67890595287e1d862a432c07 (patch) | |
| tree | a7fff4daf06f9b853b2bc7989d51c92ac223735a /src/librustc/front | |
| parent | 1c49eaaa55091f0cca2e6266b35b36e8c6acf2a6 (diff) | |
| download | rust-5bb61963787f3e6e67890595287e1d862a432c07.tar.gz rust-5bb61963787f3e6e67890595287e1d862a432c07.zip | |
Address review comments, add tests
Diffstat (limited to 'src/librustc/front')
| -rw-r--r-- | src/librustc/front/test.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc/front/test.rs b/src/librustc/front/test.rs index 8bcbe011366..13f6243fb7b 100644 --- a/src/librustc/front/test.rs +++ b/src/librustc/front/test.rs @@ -545,8 +545,7 @@ fn mk_test_desc_and_fn_rec(cx: &TestCtxt, test: &Test) -> Gc<ast::Expr> { let mut visible_path = match cx.toplevel_reexport { Some(id) => vec![id], None => { - cx.sess.span_bug( - DUMMY_SP, + cx.sess.bug( "expected to find top-level re-export name, but found None" ); } |
