diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-05-08 15:53:19 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-04-20 17:48:32 +0000 |
| commit | b275d2c30b6e88cc48747f349f7137076d450658 (patch) | |
| tree | b834a60fd639a6badc5f2838974455658522542b /compiler/rustc_codegen_ssa/src | |
| parent | 0e017fc94a5b35250fd1b0732e004e0112d09728 (diff) | |
| download | rust-b275d2c30b6e88cc48747f349f7137076d450658.tar.gz rust-b275d2c30b6e88cc48747f349f7137076d450658.zip | |
Remove WithOptconstParam.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/symbol_export.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/symbol_export.rs b/compiler/rustc_codegen_ssa/src/back/symbol_export.rs index d0fd3cd7666..8f2f829c17c 100644 --- a/compiler/rustc_codegen_ssa/src/back/symbol_export.rs +++ b/compiler/rustc_codegen_ssa/src/back/symbol_export.rs @@ -333,7 +333,7 @@ fn exported_symbols_provider_local( match *mono_item { MonoItem::Fn(Instance { def: InstanceDef::Item(def), substs }) => { if substs.non_erasable_generics().next().is_some() { - let symbol = ExportedSymbol::Generic(def.did, substs); + let symbol = ExportedSymbol::Generic(def, substs); symbols.push(( symbol, SymbolExportInfo { |
