Upgrade to Rust 1.80 (#12586)

This commit is contained in:
Micha Reiser 2024-07-30 21:18:08 +02:00 committed by GitHub
parent ee103ffb25
commit 138e70bd5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 57 additions and 48 deletions

View file

@ -330,7 +330,7 @@ where
function_def.type_params.as_deref(),
|builder| {
builder.visit_parameters(&function_def.parameters);
for expr in &function_def.returns {
if let Some(expr) = &function_def.returns {
builder.visit_annotation(expr);
}