diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-02-23 21:00:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-23 21:00:33 +0100 |
| commit | 86c594426f247ae34ef12f5e4dfd97f5ffe093c8 (patch) | |
| tree | d5683974c4cf47d1debe8e3b5b247e4ece43779a /src/driver/mod.rs | |
| parent | c24744657021aa20bb577eb0e23cc8dcee55805c (diff) | |
| parent | 73d3a1c14ad1703644667f8cb0df8e4d316aa4e1 (diff) | |
Merge pull request #1144 from bjorn3/dynamic_module
Use dynamic dispatch for the inner Module
Diffstat (limited to 'src/driver/mod.rs')
| -rw-r--r-- | src/driver/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/mod.rs b/src/driver/mod.rs index 360810cb58e..91cfde654f9 100644 --- a/src/driver/mod.rs +++ b/src/driver/mod.rs @@ -43,7 +43,7 @@ pub(crate) fn codegen_crate( } fn predefine_mono_items<'tcx>( - cx: &mut crate::CodegenCx<'tcx, impl Module>, + cx: &mut crate::CodegenCx<'_, 'tcx>, mono_items: &[(MonoItem<'tcx>, (RLinkage, Visibility))], ) { cx.tcx.sess.time("predefine functions", || { |
