Skip to content

Commit c919a89

Browse files
Michael-F-Bryanmark-i-m
authored andcommitted
Updated stupid-stats
cc: nrc/stupid-stats#8
1 parent 2722550 commit c919a89

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/appendix-stupid-stats.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,15 @@ impl<'a> CompilerCalls<'a> for StupidCalls {
243243
}
244244
245245
fn late_callback(&mut self,
246+
t: &TransCrate,
246247
m: &getopts::Matches,
247248
s: &Session,
249+
c: &CrateStore,
248250
i: &Input,
249-
odir: &Option<Path>,
250-
ofile: &Option<Path>)
251+
odir: &Option<PathBuf>,
252+
ofile: &Option<PathBuf>)
251253
-> Compilation {
252-
self.default_calls.late_callback(m, s, i, odir, ofile);
254+
self.default_calls.late_callback(t, m, s, c, i, odir, ofile);
253255
Compilation::Continue
254256
}
255257
@@ -393,4 +395,4 @@ It'd be great to see Rustdoc converted to using these APIs, if that is possible
393395
analysis, rather than doing its own analysis). Other parts of the compiler
394396
(e.g., pretty printing, testing) could be refactored to use these APIs
395397
internally (I already changed save-analysis to use `CompilerController`). I've
396-
been experimenting with a prototype rustfmt which also uses these APIs.
398+
been experimenting with a prototype rustfmt which also uses these APIs.

0 commit comments

Comments
 (0)