about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-19 12:41:38 +0000
committerbors <bors@rust-lang.org>2019-06-19 12:41:38 +0000
commite79b2a18a21e6b178d73473bb8fdbf3d18c66051 (patch)
tree093258b3615472cfd3dbad9238abc18c1cdc0361 /src/libsyntax_ext
parent9cb052acfb25c12d5e8960f9ea53b69a2f19b0e8 (diff)
parentfdeb58151370c1a65fa1ff23e7d4b304fca01d2a (diff)
downloadrust-e79b2a18a21e6b178d73473bb8fdbf3d18c66051.tar.gz
rust-e79b2a18a21e6b178d73473bb8fdbf3d18c66051.zip
Auto merge of #61172 - matthewjasper:cleanup-implied-bounds-lint, r=varkor
Improve the explicit_outlives_requirements lint

* Don't use Strings to compare parameters
* Extend the lint to lifetime bounds
* Extend the lint to enums and unions
* Use the correct span for where clauses in tuple structs
* Try to early-out where possible
* Remove unnecessary bounds in rustc crates
Diffstat (limited to 'src/libsyntax_ext')
-rw-r--r--src/libsyntax_ext/deriving/generic/ty.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax_ext/deriving/generic/ty.rs b/src/libsyntax_ext/deriving/generic/ty.rs
index 362ea9ed229..90d826429da 100644
--- a/src/libsyntax_ext/deriving/generic/ty.rs
+++ b/src/libsyntax_ext/deriving/generic/ty.rs
@@ -223,7 +223,6 @@ fn mk_generics(params: Vec<ast::GenericParam>, span: Span) -> Generics {
     Generics {
         params,
         where_clause: ast::WhereClause {
-            id: ast::DUMMY_NODE_ID,
             predicates: Vec::new(),
             span,
         },