Can somebody help me to understand why the code can run ? How can a method return local temp references out of the scope?
fn test_Borrowing3<'a>() -> Vec<&'a i32>
{
let a: &i32 = &1;
let b = &2;
let aa = vec![a, b];
return aa
}