mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Show how to generate code with error message
This commit is contained in:
parent
114e9a2d74
commit
33b378797c
3 changed files with 8 additions and 6 deletions
|
@ -13,7 +13,7 @@ use std::{
|
|||
use itertools::Itertools;
|
||||
use heck::{CamelCase, ShoutySnakeCase, SnakeCase};
|
||||
|
||||
type Result<T> = ::std::result::Result<T, failure::Error>;
|
||||
pub type Result<T> = ::std::result::Result<T, failure::Error>;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Test {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue