From 8e22a864a5d4f6b2f259d7e4e7754be7b8b3dca7 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Mon, 25 Feb 2019 15:52:09 +0100 Subject: [PATCH 1/2] overflowing_literals is deny on all editions --- src/rust-2018/edition-changes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rust-2018/edition-changes.md b/src/rust-2018/edition-changes.md index b1ae3697..83b32a6d 100644 --- a/src/rust-2018/edition-changes.md +++ b/src/rust-2018/edition-changes.md @@ -17,7 +17,6 @@ the 2018 edition compared to the 2015 edition. - [`dyn`] is a [strict keyword], in 2015 it is a [weak keyword]. - `async`, `await`, and `try` are [reserved keywords]. - The following lints are now deny by default: - - [overflowing_literals] - [tyvar_behind_raw_pointer] ## Cargo From e074d0659d6b38dd9ab9fd4d45e510f1e0cf172b Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Mon, 25 Feb 2019 15:55:05 +0100 Subject: [PATCH 2/2] Update edition-changes.md --- src/rust-2018/edition-changes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rust-2018/edition-changes.md b/src/rust-2018/edition-changes.md index 83b32a6d..23df74cc 100644 --- a/src/rust-2018/edition-changes.md +++ b/src/rust-2018/edition-changes.md @@ -33,7 +33,6 @@ the 2018 edition compared to the 2015 edition. [Path changes]: rust-2018/module-system/path-clarity.html [Trait function parameters]: https://doc.rust-lang.org/stable/reference/items/traits.html#parameter-patterns [`dyn`]: rust-2018/trait-system/dyn-trait-for-trait-objects.html -[overflowing_literals]: https://github.com/rust-lang/rfcs/blob/master/text/2438-deny-integer-literal-overflow-lint.md [reserved keywords]: https://doc.rust-lang.org/reference/keywords.html#reserved-keywords [strict keyword]: https://doc.rust-lang.org/reference/keywords.html#strict-keywords [tyvar_behind_raw_pointer]: https://github.com/rust-lang/rust/issues/46906