]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/exported_symbols.rs
Rollup merge of #58730 - timvermeulen:internal_iteration, r=scottmcm
[rust.git] / src / librustc / middle / exported_symbols.rs
index 6c43068a227728428957817b188e2900b9c6f02c..32c7216765533cf65fc925b962b74d1096752dca 100644 (file)
@@ -5,7 +5,7 @@
 use std::cmp;
 use std::mem;
 use crate::ty;
-use crate::ty::subst::Substs;
+use crate::ty::subst::SubstsRef;
 
 /// The SymbolExportLevel of a symbols specifies from which kinds of crates
 /// the symbol will be exported. `C` symbols will be exported from any
@@ -33,7 +33,7 @@ pub fn is_below_threshold(self, threshold: SymbolExportLevel) -> bool {
 #[derive(Eq, PartialEq, Debug, Copy, Clone, RustcEncodable, RustcDecodable)]
 pub enum ExportedSymbol<'tcx> {
     NonGeneric(DefId),
-    Generic(DefId, &'tcx Substs<'tcx>),
+    Generic(DefId, SubstsRef<'tcx>),
     NoDefId(ty::SymbolName),
 }