diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-08-12 23:26:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 23:26:56 +0200 |
| commit | 3e9a1a1b8246e85643c8e477367e43e9936e614e (patch) | |
| tree | 992fe0eca8ace840dd07badc013281f9c566a7c9 /src/libsyntax_ext | |
| parent | f1ae95f7e2bf39ec2d934fe8ed819be87cf777a1 (diff) | |
| parent | 0123ac12e28e1d8672e66404678893bd1d641714 (diff) | |
| download | rust-3e9a1a1b8246e85643c8e477367e43e9936e614e.tar.gz rust-3e9a1a1b8246e85643c8e477367e43e9936e614e.zip | |
Rollup merge of #53230 - memoryruins:nll_bootstrap_4, r=nikomatsakis
[nll] enable feature(nll) on various crates for bootstrap: part 4 #53172 r? @nikomatsakis
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/deriving/generic/mod.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax_ext/lib.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax_ext/deriving/generic/mod.rs b/src/libsyntax_ext/deriving/generic/mod.rs index e0f985c26c7..f5e607fc23d 100644 --- a/src/libsyntax_ext/deriving/generic/mod.rs +++ b/src/libsyntax_ext/deriving/generic/mod.rs @@ -554,7 +554,7 @@ impl<'a> TraitDef<'a> { GenericParamKind::Type { .. } => { // I don't think this can be moved out of the loop, since // a GenericBound requires an ast id - let mut bounds: Vec<_> = + let bounds: Vec<_> = // extra restrictions on the generics parameters to the // type being derived upon self.additional_bounds.iter().map(|p| { diff --git a/src/libsyntax_ext/lib.rs b/src/libsyntax_ext/lib.rs index f0d33835cd0..1ba4ab47425 100644 --- a/src/libsyntax_ext/lib.rs +++ b/src/libsyntax_ext/lib.rs @@ -16,6 +16,7 @@ #![feature(proc_macro_internals)] #![feature(decl_macro)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(str_escape)] #![feature(rustc_diagnostic_macros)] |
