about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-17 14:10:11 +0000
committerbors <bors@rust-lang.org>2018-05-17 14:10:11 +0000
commitdbd10f81758381339f98994b8d31814cf5e98707 (patch)
tree314792e2f467d17181d29d4988550058197ac029 /src/libsyntax
parente3150564f889a3bad01795d9fcb31d4f14d58a99 (diff)
parentb63d7e2b1c4019e40051036bcb1fd5f254a8f6e2 (diff)
downloadrust-dbd10f81758381339f98994b8d31814cf5e98707.tar.gz
rust-dbd10f81758381339f98994b8d31814cf5e98707.zip
Auto merge of #50615 - irinagpopa:rename-trans, r=nikomatsakis
Rename trans to codegen everywhere.

Part of #45274.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index f1229520c77..d247b5402ef 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -839,7 +839,7 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
                                                    is just used for rustc unit tests \
                                                    and will never be stable",
                                                   cfg_fn!(rustc_attrs))),
-    ("rustc_partition_translated", Whitelisted, Gated(Stability::Unstable,
+    ("rustc_partition_codegened", Whitelisted, Gated(Stability::Unstable,
                                                       "rustc_attrs",
                                                       "this attribute \
                                                        is just used for rustc unit tests \
@@ -938,7 +938,7 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
     // FIXME: #14408 whitelist docs since rustdoc looks at them
     ("doc", Whitelisted, Ungated),
 
-    // FIXME: #14406 these are processed in trans, which happens after the
+    // FIXME: #14406 these are processed in codegen, which happens after the
     // lint pass
     ("cold", Whitelisted, Ungated),
     ("naked", Whitelisted, Gated(Stability::Unstable,