@@ -713,7 +713,7 @@ impl fmt::Display for Profile {
713713#[ derive( Clone ) ]
714714pub ( crate ) struct DistOptions < ' a > {
715715 pub ( crate ) cfg : & ' a Cfg < ' a > ,
716- pub ( crate ) desc : & ' a ToolchainDesc ,
716+ pub ( crate ) toolchain : & ' a ToolchainDesc ,
717717 pub ( crate ) profile : Profile ,
718718 pub ( crate ) update_hash : Option < & ' a Path > ,
719719 pub ( crate ) dl_cfg : DownloadCfg < ' a > ,
@@ -752,9 +752,9 @@ pub(crate) async fn update_from_dist(
752752
753753 let mut fetched = String :: new ( ) ;
754754 let mut first_err = None ;
755- let backtrack = opts. desc . channel == "nightly" && opts. desc . date . is_none ( ) ;
755+ let backtrack = opts. toolchain . channel == "nightly" && opts. toolchain . date . is_none ( ) ;
756756 // We want to limit backtracking if we do not already have a toolchain
757- let mut backtrack_limit: Option < i32 > = if opts. desc . date . is_some ( ) {
757+ let mut backtrack_limit: Option < i32 > = if opts. toolchain . date . is_some ( ) {
758758 None
759759 } else {
760760 // We limit the backtracking to 21 days by default (half a release cycle).
@@ -792,11 +792,11 @@ pub(crate) async fn update_from_dist(
792792 } ;
793793
794794 let current_manifest = {
795- let manifestation = Manifestation :: open ( prefix. clone ( ) , opts. desc . target . clone ( ) ) ?;
795+ let manifestation = Manifestation :: open ( prefix. clone ( ) , opts. toolchain . target . clone ( ) ) ?;
796796 manifestation. load_manifest ( ) ?
797797 } ;
798798
799- let mut toolchain = opts. desc . clone ( ) ;
799+ let mut toolchain = opts. toolchain . clone ( ) ;
800800 let res = loop {
801801 let result = try_update_from_dist_ (
802802 opts. dl_cfg ,
0 commit comments