* Verifier now accepts multiple errors (fixes #387).
This commit is contained in:
committed by
Dan Gohman
parent
3f582f7cbd
commit
dbc547091f
@@ -120,9 +120,8 @@
|
||||
//! let flags = settings::Flags::new(settings::builder());
|
||||
//! let res = verify_function(&func, &flags);
|
||||
//! println!("{}", func.display(None));
|
||||
//! match res {
|
||||
//! Ok(_) => {}
|
||||
//! Err(err) => panic!("{}", err),
|
||||
//! if let Err(errors) = res {
|
||||
//! panic!("{}", errors);
|
||||
//! }
|
||||
//! }
|
||||
//! ```
|
||||
|
||||
Reference in New Issue
Block a user