about summary refs log tree commit diff
path: root/tests/ui/error-emitter/multiline-multipart-suggestion.rs
blob: 92dede1b5d83e09e30df7a583fc0a62c083f8f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//@ compile-flags: --error-format=human --color=always

fn short(foo_bar: &Vec<&i32>) -> &i32 {
    &12
}

fn long(
    foo_bar: &Vec<&i32>,
    something_very_long_so_that_the_line_will_wrap_around__________: i32,
) -> &i32 {
    &12
}

fn long2(
    foo_bar: &Vec<&i32>) -> &i32 {
    &12
}
fn main() {}

//~? RAW missing lifetime specifier