parent
27225507d7
commit
c919a89995
|
|
@ -243,13 +243,15 @@ impl<'a> CompilerCalls<'a> for StupidCalls {
|
|||
}
|
||||
|
||||
fn late_callback(&mut self,
|
||||
t: &TransCrate,
|
||||
m: &getopts::Matches,
|
||||
s: &Session,
|
||||
c: &CrateStore,
|
||||
i: &Input,
|
||||
odir: &Option<Path>,
|
||||
ofile: &Option<Path>)
|
||||
odir: &Option<PathBuf>,
|
||||
ofile: &Option<PathBuf>)
|
||||
-> Compilation {
|
||||
self.default_calls.late_callback(m, s, i, odir, ofile);
|
||||
self.default_calls.late_callback(t, m, s, c, i, odir, ofile);
|
||||
Compilation::Continue
|
||||
}
|
||||
|
||||
|
|
@ -393,4 +395,4 @@ It'd be great to see Rustdoc converted to using these APIs, if that is possible
|
|||
analysis, rather than doing its own analysis). Other parts of the compiler
|
||||
(e.g., pretty printing, testing) could be refactored to use these APIs
|
||||
internally (I already changed save-analysis to use `CompilerController`). I've
|
||||
been experimenting with a prototype rustfmt which also uses these APIs.
|
||||
been experimenting with a prototype rustfmt which also uses these APIs.
|
||||
Loading…
Reference in New Issue