about summary refs log tree commit diff
path: root/src/test/incremental
diff options
context:
space:
mode:
authorleonardo.yvens <leoyvens@gmail.com>2017-10-09 13:59:20 -0300
committerleonardo.yvens <leoyvens@gmail.com>2017-11-03 16:13:20 -0200
commit06506bb751ae952b67d76a2ebe21edb8ec96acb9 (patch)
tree9894a2984347c30c31cc59c933ce0b1a30007086 /src/test/incremental
parent5ce3d482e2313fe6795e6d688e62a092af424da8 (diff)
downloadrust-06506bb751ae952b67d76a2ebe21edb8ec96acb9.tar.gz
rust-06506bb751ae952b67d76a2ebe21edb8ec96acb9.zip
[Syntax Breaking] Rename DefaultImpl to AutoImpl
DefaultImpl is a highly confusing name for what we now call auto impls,
as in `impl Send for ..`. The name auto impl is not formally decided
but for sanity anything is better than `DefaultImpl` which refers
neither to `default impl` nor to `impl Default`.
Diffstat (limited to 'src/test/incremental')
-rw-r--r--src/test/incremental/hashes/trait_defs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/incremental/hashes/trait_defs.rs b/src/test/incremental/hashes/trait_defs.rs
index 44950ee8a60..108363a4645 100644
--- a/src/test/incremental/hashes/trait_defs.rs
+++ b/src/test/incremental/hashes/trait_defs.rs
@@ -249,7 +249,7 @@ trait TraitChangeMethodParametersOrder {
 
 // Add default implementation to method -------------------------------------------
 #[cfg(cfail1)]
-trait TraitAddMethodDefaultImplementation {
+trait TraitAddMethodAutoImplementation {
     fn method();
 }
 
@@ -258,7 +258,7 @@ trait TraitAddMethodDefaultImplementation {
 #[rustc_clean(label="Hir", cfg="cfail3")]
 #[rustc_metadata_clean(cfg="cfail2")]
 #[rustc_metadata_clean(cfg="cfail3")]
-trait TraitAddMethodDefaultImplementation {
+trait TraitAddMethodAutoImplementation {
     #[rustc_dirty(label="Hir", cfg="cfail2")]
     #[rustc_clean(label="Hir", cfg="cfail3")]
     #[rustc_metadata_dirty(cfg="cfail2")]