fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: mismatched closing delimiter: `}` 2 --> $DIR/unclosed_delim_mod.rs:7:1 3 | 4LL | pub fn new() -> Result<Value, ()> { 5 | - closing delimiter possibly meant for this 6LL | Ok(Value { 7 | - unclosed delimiter 8LL | } 9LL | } 10 | ^ mismatched closing delimiter 11 12error[E0308]: mismatched types 13 --> $DIR/unclosed-delimiter-in-dep.rs:4:20 14 | 15LL | let _: usize = unclosed_delim_mod::new(); 16 | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found enum `std::result::Result` 17 | | 18 | expected due to this 19 | 20 = note: expected type `usize` 21 found enum `std::result::Result<unclosed_delim_mod::Value, ()>` 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0308`.