enable intercrate
in the solver InferCtxt
This commit is contained in:
parent
47f24a881b
commit
938434ab82
3 changed files with 20 additions and 8 deletions
|
@ -585,8 +585,8 @@ impl<'tcx> InferCtxtBuilder<'tcx> {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn intercrate(mut self) -> Self {
|
||||
self.intercrate = true;
|
||||
pub fn intercrate(mut self, intercrate: bool) -> Self {
|
||||
self.intercrate = intercrate;
|
||||
self
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue