Searched refs:LspError (Results 1 – 10 of 10) sorted by relevance
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/rust-analyzer/src/ |
H A D | lib.rs | 60 struct LspError { struct 65 impl LspError { implementation 66 fn new(code: i32, message: String) -> LspError { in new() argument 67 LspError { code, message } in new() 71 impl fmt::Display for LspError { implementation 77 impl std::error::Error for LspError {} implementation
|
H A D | lsp_utils.rs | 11 LspError, 14 pub(crate) fn invalid_params_error(message: String) -> LspError { in invalid_params_error() argument 15 LspError { code: lsp_server::ErrorCode::InvalidParams as i32, message } in invalid_params_error()
|
H A D | dispatch.rs | 10 LspError, Result, 196 Err(e) => match e.downcast::<LspError>() { in result_to_response()
|
H A D | handlers.rs | 47 to_proto, LspError, Result, 860 return Err(LspError::new( in handle_completion_resolve() 1738 return Err(LspError::new( in run_rustfmt() 1802 Err(LspError::new( in run_rustfmt()
|
H A D | to_proto.rs | 1226 pub(crate) fn rename_error(err: RenameError) -> crate::LspError { in rename_error() argument
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/rust-analyzer/src/ |
H A D | lib.rs | 60 struct LspError { struct 65 impl LspError { argument 66 fn new(code: i32, message: String) -> LspError { in new() argument 67 LspError { code, message } in new() 71 impl fmt::Display for LspError { implementation 77 impl std::error::Error for LspError {} implementation
|
H A D | lsp_utils.rs | 11 LspError, 14 pub(crate) fn invalid_params_error(message: String) -> LspError { in invalid_params_error() argument 15 LspError { code: lsp_server::ErrorCode::InvalidParams as i32, message } in invalid_params_error()
|
H A D | dispatch.rs | 10 LspError, Result, 196 Err(e) => match e.downcast::<LspError>() { in result_to_response()
|
H A D | handlers.rs | 47 to_proto, LspError, Result, 855 return Err(LspError::new( in handle_completion_resolve() 1728 return Err(LspError::new( in run_rustfmt() 1792 Err(LspError::new( in run_rustfmt()
|
H A D | to_proto.rs | 1217 pub(crate) fn rename_error(err: RenameError) -> crate::LspError { in rename_error() argument
|