They're on the function definition, yes. There aren't ones at the call site.
P.S. I considered submitting a PR, but I don't know enough about rust yet to accurately phrase it.
1: https://doc.rust-lang.org/reference.html#inline-attributes
> I’ve always thought it should be up to the caller to say which functions they’d like inlined,