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 ee922d4 commit d41f9ddCopy full SHA for d41f9dd
src/librustc/ty/instance.rs
@@ -79,7 +79,7 @@ impl<'tcx> Instance<'tcx> {
79
// Instance.ty_env should have been used to provide the proper
80
// ParamEnv
81
if self.substs.has_param_types() {
82
- panic!(
+ bug!(
83
"Instance.ty called for type {:?} with projections in substs: {:?}",
84
ty, self.substs
85
);
0 commit comments