Skip to content

Commit

Permalink
Workaround clippy::result_large_err error with Rust 1.65. (#3276)
Browse files Browse the repository at this point in the history
This configures the default threshold of Clippy for this error so it
works fine with the Sway codebase.
  • Loading branch information
tritao authored Nov 3, 2022
1 parent 2e20b08 commit 4a5e93f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- -D warnings --allow clippy::result_large_err
args: --all-features --all-targets -- -D warnings

cargo-toml-fmt-check:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
large-error-threshold = 256

0 comments on commit 4a5e93f

Please sign in to comment.