about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorRobin Kruppe <robin.kruppe@gmail.com>2018-01-07 22:05:32 +0100
committerRobin Kruppe <robin.kruppe@gmail.com>2018-01-07 22:05:32 +0100
commit1df384d32d7a33a710acd3f15729b0e4d6f73832 (patch)
treedf3cfde720b715af146faf7c1698bfea43e48339 /src/libsyntax_ext
parent6828cf90146c7fefc4ba4f16dffe75f763f2d910 (diff)
downloadrust-1df384d32d7a33a710acd3f15729b0e4d6f73832.tar.gz
rust-1df384d32d7a33a710acd3f15729b0e4d6f73832.zip
Rename ReprExtern to ReprC, and similarily rename a few other fields and locals that mentioned "extern repr"
Diffstat (limited to 'src/libsyntax_ext')
-rw-r--r--src/libsyntax_ext/deriving/generic/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/deriving/generic/mod.rs b/src/libsyntax_ext/deriving/generic/mod.rs
index 48872cb1313..08a7f85d14b 100644
--- a/src/libsyntax_ext/deriving/generic/mod.rs
+++ b/src/libsyntax_ext/deriving/generic/mod.rs
@@ -831,7 +831,7 @@ fn find_repr_type_name(diagnostic: &Handler, type_attrs: &[ast::Attribute]) -> &
         for r in &attr::find_repr_attrs(diagnostic, a) {
             repr_type_name = match *r {
                 attr::ReprPacked | attr::ReprSimd | attr::ReprAlign(_) => continue,
-                attr::ReprExtern => "i32",
+                attr::ReprC => "i32",
 
                 attr::ReprInt(attr::SignedInt(ast::IntTy::Isize)) => "isize",
                 attr::ReprInt(attr::SignedInt(ast::IntTy::I8)) => "i8",