diff options
| author | lcnr <rust@lcnr.de> | 2023-03-21 16:34:04 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-03-21 16:34:04 +0100 |
| commit | 938434ab82609c8de83028fa80bde4d6d28c282a (patch) | |
| tree | a55793a70afa69f1b163ef6bb443dcc3c68152c5 /compiler/rustc_infer | |
| parent | 47f24a881bb05293c4d922218d9dfed7e29511cd (diff) | |
| download | rust-938434ab82609c8de83028fa80bde4d6d28c282a.tar.gz rust-938434ab82609c8de83028fa80bde4d6d28c282a.zip | |
enable `intercrate` in the solver `InferCtxt`
Diffstat (limited to 'compiler/rustc_infer')
| -rw-r--r-- | compiler/rustc_infer/src/infer/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/mod.rs b/compiler/rustc_infer/src/infer/mod.rs index aeb4ddb4212..ed5fd590934 100644 --- a/compiler/rustc_infer/src/infer/mod.rs +++ b/compiler/rustc_infer/src/infer/mod.rs @@ -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 } |
