about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-09 04:52:38 +0200
committerGitHub <noreply@github.com>2019-07-09 04:52:38 +0200
commitbc18981f21a50653396c66faf9d934a44d8c13e0 (patch)
tree44a18dbeaa4ff7b35fef9b1f5e34ee16367628a3 /src/test/incremental/thinlto
parent3bbc42114271021fbe6b74766531f08399fc9a0d (diff)
parente808d921ddc0ad81a200934fc4caabc34094afe5 (diff)
downloadrust-bc18981f21a50653396c66faf9d934a44d8c13e0.tar.gz
rust-bc18981f21a50653396c66faf9d934a44d8c13e0.zip
Rollup merge of #62403 - SimonSapin:concat, r=alexcrichton
Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait

Before this change `SliceConcatExt` was an unstable extension trait with stable methods. It was in the libstd prelude, so that its methods could be used on the stable channel.

This replaces it with inherent methods, which can be used without any addition to the prelude. Since the methods are stable and very generic (with for example a return type that depends on the types of parameters), an helper trait is still needed. But now that trait does not need to be in scope for the methods to be used.

Removing this depedency on the libstd prelude allows the methods to be used in `#![no_std]` crate that use liballoc, which does not have its own implicitly-imported prelude.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions