Improve error message about regions of function body
This commit is contained in:
parent
2174bd97c1
commit
93486180d9
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
"scope of call-site for function"
|
||||
}
|
||||
region::CodeExtentData::ParameterScope { .. } => {
|
||||
"scope of parameters for function"
|
||||
"scope of function body"
|
||||
}
|
||||
region::CodeExtentData::DestructionScope(_) => {
|
||||
new_string = format!("destruction scope surrounding {}", tag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue