about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2018-03-19 23:35:23 -0400
committerPhlosioneer <mattmdrr2@gmail.com>2018-03-19 23:42:14 -0400
commit57e3df3f879090207f5a128a497b66916aeabb6b (patch)
treef2a4f5224d78ad68b483256ece936d6fb27fbb24 /src/test/rustdoc
parent6bfa7d02d6713acd15ead20c199b808e85031f9e (diff)
downloadrust-57e3df3f879090207f5a128a497b66916aeabb6b.tar.gz
rust-57e3df3f879090207f5a128a497b66916aeabb6b.zip
Fix ordering of auto-generated trait bounds in rustdoc output
While the order of the where clauses was deterministic, the
ordering of bounds and lifetimes was not. This made the order flip-
flop randomly when new traits and impls were added to libstd.

This PR makes the ordering of bounds and lifetimes deterministic,
and re-enables the test that was causing the issue.

Fixes #49123
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/synthetic_auto/no-redundancy.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/rustdoc/synthetic_auto/no-redundancy.rs b/src/test/rustdoc/synthetic_auto/no-redundancy.rs
index daa91c3e12b..0b37f2ed317 100644
--- a/src/test/rustdoc/synthetic_auto/no-redundancy.rs
+++ b/src/test/rustdoc/synthetic_auto/no-redundancy.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// ignore-test
-
 pub struct Inner<T> {
     field: T,
 }