mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Remove superfluous semicolons
Doesn't change the result of the test but it does prevent the syntax tree from rendering.
This commit is contained in:
parent
011bd4b2fc
commit
27fc99776f
1 changed files with 5 additions and 5 deletions
|
@ -550,7 +550,7 @@ The Some variant
|
||||||
fn test_hover_infer_associated_method_result() {
|
fn test_hover_infer_associated_method_result() {
|
||||||
let (analysis, position) = single_file_with_position(
|
let (analysis, position) = single_file_with_position(
|
||||||
"
|
"
|
||||||
struct Thing { x: u32 };
|
struct Thing { x: u32 }
|
||||||
|
|
||||||
impl Thing {
|
impl Thing {
|
||||||
fn new() -> Thing {
|
fn new() -> Thing {
|
||||||
|
@ -616,7 +616,7 @@ The Some variant
|
||||||
fn test_hover_self() {
|
fn test_hover_self() {
|
||||||
let (analysis, position) = single_file_with_position(
|
let (analysis, position) = single_file_with_position(
|
||||||
"
|
"
|
||||||
struct Thing { x: u32 };
|
struct Thing { x: u32 }
|
||||||
impl Thing {
|
impl Thing {
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Self<|> { x: 0 }
|
Self<|> { x: 0 }
|
||||||
|
@ -630,7 +630,7 @@ The Some variant
|
||||||
|
|
||||||
let (analysis, position) = single_file_with_position(
|
let (analysis, position) = single_file_with_position(
|
||||||
"
|
"
|
||||||
struct Thing { x: u32 };
|
struct Thing { x: u32 }
|
||||||
impl Thing {
|
impl Thing {
|
||||||
fn new() -> Self<|> {
|
fn new() -> Self<|> {
|
||||||
Self { x: 0 }
|
Self { x: 0 }
|
||||||
|
@ -644,7 +644,7 @@ The Some variant
|
||||||
|
|
||||||
let (analysis, position) = single_file_with_position(
|
let (analysis, position) = single_file_with_position(
|
||||||
"
|
"
|
||||||
enum Thing { A };
|
enum Thing { A }
|
||||||
impl Thing {
|
impl Thing {
|
||||||
pub fn new() -> Self<|> {
|
pub fn new() -> Self<|> {
|
||||||
Thing::A
|
Thing::A
|
||||||
|
@ -658,7 +658,7 @@ The Some variant
|
||||||
|
|
||||||
let (analysis, position) = single_file_with_position(
|
let (analysis, position) = single_file_with_position(
|
||||||
"
|
"
|
||||||
enum Thing { A };
|
enum Thing { A }
|
||||||
impl Thing {
|
impl Thing {
|
||||||
pub fn thing(a: Self<|>) {
|
pub fn thing(a: Self<|>) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue