syntax: remove unused field

This commit is contained in:
Tamir Duberstein 2017-08-20 08:22:46 -07:00
parent a4d11495f9
commit f2fb45723a
No known key found for this signature in database
GPG key ID: 1C1E98CC8E17BB89

View file

@ -56,7 +56,6 @@ struct Test {
}
struct TestCtxt<'a> {
sess: &'a ParseSess,
span_diagnostic: &'a errors::Handler,
path: Vec<Ident>,
ext_cx: ExtCtxt<'a>,
@ -273,7 +272,6 @@ fn generate_test_harness(sess: &ParseSess,
let mark = Mark::fresh(Mark::root());
let mut cx: TestCtxt = TestCtxt {
sess,
span_diagnostic: sd,
ext_cx: ExtCtxt::new(sess, ExpansionConfig::default("test".to_string()), resolver),
path: Vec::new(),