Skip to content

Commit 00db281

Browse files
committed
warn, not error, on large return err variants
1 parent 1cd12ed commit 00db281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/lib/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![allow(clippy::missing_errors_doc)]
55
#![allow(clippy::implicit_hasher)]
66
#![allow(clippy::too_many_arguments)]
7+
#![warn(clippy::result_large_err)] // TODO #555: box the large variants or change the lint tthreshold
78
#![forbid(unsafe_code)]
89
#![warn(future_incompatible)]
910
#![warn(rust_2018_compatibility, rust_2018_idioms)]

0 commit comments

Comments
 (0)