Uh oh!
There was an error while loading. Please reload this page.
Slice::swap should be inlineable - #22988
Conversation
rust-highfive
commented
Mar 3, 2015
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Mar 3, 2015
@bors: r+ 1d647a0 rollup |
bluss
commented
Mar 3, 2015
Did you have any indication it was not inlinable? It's a generic method, so it has to be inlinable already. |
dcrewi
commented
Mar 3, 2015
I'm under the impression that without the inline attribute, llvm will not consider inlining a function cross-crate. |
alexcrichton
commented
Mar 3, 2015
Ah yes @bluss I forgot to note that! @dcrewi all generics are instantiated downstream with concrete types and are hence available for inlining. Functions which are otherwise not able to cross crates (e.g. those that have no generics) are not candidates for inlining and hence require the |
No description provided.