From 220813dcb0881ff199619c11eb34a39a6de0f67a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 15 May 2020 01:51:48 +0200 Subject: Move LSP bits from flycheck to rust-analyzer There should be only one place that knows about LSP, and that place is right before we spit JSON on stdout. --- ...st__snap_rustc_incompatible_type_for_trait.snap | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap (limited to 'crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap') diff --git a/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap b/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap deleted file mode 100644 index 0df0fce18..000000000 --- a/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap +++ /dev/null @@ -1,48 +0,0 @@ ---- -source: crates/ra_flycheck/src/conv/test.rs -expression: diag ---- -[ - MappedRustDiagnostic { - location: Location { - uri: "file:///test/compiler/ty/list_iter.rs", - range: Range { - start: Position { - line: 51, - character: 4, - }, - end: Position { - line: 51, - character: 47, - }, - }, - }, - diagnostic: Diagnostic { - range: Range { - start: Position { - line: 51, - character: 4, - }, - end: Position { - line: 51, - character: 47, - }, - }, - severity: Some( - Error, - ), - code: Some( - String( - "E0053", - ), - ), - source: Some( - "rustc", - ), - message: "method `next` has an incompatible type for trait\nexpected type `fn(&mut ty::list_iter::ListIterator<\'list, M>) -> std::option::Option<&ty::Ref>`\n found type `fn(&ty::list_iter::ListIterator<\'list, M>) -> std::option::Option<&\'list ty::Ref>`", - related_information: None, - tags: None, - }, - fixes: [], - }, -] -- cgit v1.2.3