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 332d8d6 commit 8cde544Copy full SHA for 8cde544
compiler/rustc_symbol_mangling/src/v0.rs
@@ -342,7 +342,7 @@ impl<'tcx> Printer<'tcx> for V0SymbolMangler<'tcx> {
342
)
343
} else {
344
assert!(
345
- !args.has_non_region_param(),
+ !args.has_non_region_param() && !args.has_free_regions(),
346
"should not be mangling partially substituted \
347
polymorphic instance: {impl_def_id:?} {args:?}"
348
);
0 commit comments