File tree 2 files changed +2
-2
lines changed
src/cargo/sources/registry 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ impl<'cfg> HttpRegistry<'cfg> {
132
132
name : & str ,
133
133
) -> CargoResult < HttpRegistry < ' cfg > > {
134
134
if !config. cli_unstable ( ) . sparse_registry {
135
- anyhow:: bail!( "usage of HTTP-based registries requires `-Z sparse-registry`" ) ;
135
+ anyhow:: bail!( "usage of sparse registries requires `-Z sparse-registry`" ) ;
136
136
}
137
137
let url = source_id. url ( ) . as_str ( ) ;
138
138
// Ensure the url ends with a slash so we can concatenate paths.
Original file line number Diff line number Diff line change @@ -2643,7 +2643,7 @@ fn http_requires_z_flag() {
2643
2643
2644
2644
p. cargo ( "build" )
2645
2645
. with_status ( 101 )
2646
- . with_stderr_contains ( " usage of HTTP-based registries requires `-Z sparse-registry`" )
2646
+ . with_stderr_contains ( " usage of sparse registries requires `-Z sparse-registry`" )
2647
2647
. run ( ) ;
2648
2648
}
2649
2649
You can’t perform that action at this time.
0 commit comments