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.
Clone
1 parent fbea6dd commit b284b04Copy full SHA for b284b04
1 file changed
compiler/rustc_middle/src/query/keys.rs
@@ -311,13 +311,13 @@ impl<'tcx> QueryKey for &'tcx OsStr {
311
312
/// Canonical query goals correspond to abstract trait operations that
313
/// are not tied to any crate in particular.
314
-impl<'tcx, T: Clone> QueryKey for CanonicalQueryInput<'tcx, T> {
+impl<'tcx, T> QueryKey for CanonicalQueryInput<'tcx, T> {
315
fn default_span(&self, _tcx: TyCtxt<'_>) -> Span {
316
DUMMY_SP
317
}
318
319
320
-impl<'tcx, T: Clone> QueryKey for (CanonicalQueryInput<'tcx, T>, bool) {
+impl<'tcx, T> QueryKey for (CanonicalQueryInput<'tcx, T>, bool) {
321
322
323
0 commit comments