about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-01-21 16:55:32 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-01-21 18:41:53 +0100
commite195ce654a570606a85ead6cefb36042a206205a (patch)
tree80a517b4e0e47f41708b7162d8dae32cc4159aa2 /src/librustdoc/html/static/source-script.js
parent9be4c76910e0df7decb33c5d400260f1d8c217a1 (diff)
downloadrust-e195ce654a570606a85ead6cefb36042a206205a.tar.gz
rust-e195ce654a570606a85ead6cefb36042a206205a.zip
Fix some non-determinism in help messages for E0277 errors.
The diagnostic for this error prints `the following implementations
were found` followed by the first N relevant impls, sorted.

This commit makes the sort happen before slicing,
so that the set of impls being printed is deterministic
when the input is not.
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions