Lints and suggestions for the Nix programming language
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

handle duplicate args error

Akshay f0267dfb c1a6bdc4

+1
+1
lib/src/lib.rs
··· 108 108 ParseError::UnexpectedEOF | ParseError::UnexpectedEOFWanted(_) => { 109 109 TextRange::empty(0u32.into()) 110 110 } 111 + ParseError::DuplicatedArgs(at, _) => at, 111 112 _ => panic!("report a bug, pepper forgot to handle a parse error"), 112 113 }; 113 114 let mut message = err.to_string();