mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Merge #6887
6887: Add `#` to canonical test example r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
95f3dcd909
1 changed files with 4 additions and 4 deletions
|
@ -96,19 +96,19 @@ When using multiline fixtures, use unindented raw string literals:
|
|||
fn inline_field_shorthand() {
|
||||
check_assist(
|
||||
inline_local_variable,
|
||||
r"
|
||||
r#"
|
||||
struct S { foo: i32}
|
||||
fn main() {
|
||||
let <|>foo = 92;
|
||||
S { foo }
|
||||
}
|
||||
",
|
||||
r"
|
||||
"#,
|
||||
r#"
|
||||
struct S { foo: i32}
|
||||
fn main() {
|
||||
S { foo: 92 }
|
||||
}
|
||||
",
|
||||
"#,
|
||||
);
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue