We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05ee30b commit 300c85eCopy full SHA for 300c85e
compiler/rustc_symbol_mangling/src/v0.rs
@@ -338,7 +338,7 @@ impl<'tcx> Printer<'tcx> for V0SymbolMangler<'tcx> {
338
)
339
} else {
340
assert!(
341
- !args.has_non_region_param(),
+ !args.has_non_region_param() && !args.has_free_regions(),
342
"should not be mangling partially substituted \
343
polymorphic instance: {impl_def_id:?} {args:?}"
344
);
0 commit comments