diff --git a/src/commands/upload_proguard.rs b/src/commands/upload_proguard.rs index 06752d1a62..239f381a6e 100644 --- a/src/commands/upload_proguard.rs +++ b/src/commands/upload_proguard.rs @@ -214,6 +214,9 @@ pub fn execute(matches: &ArgMatches) -> Result<()> { } } + // We are done constructing the mappings, redeclare as immutable. + let mappings = mappings; + let api = Api::current(); let config = Config::current();