Ask rustc to please always inline

This commit is contained in:
Ayaz Hafiz 2022-04-13 08:49:27 -04:00
parent 03d4d81f8d
commit a1c1dc1a9f
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1240,6 +1240,8 @@ fn solve(
/// If a symbol claims to specialize an ability member, check that its solved type in fact
/// does specialize the ability, and record the specialization.
#[allow(clippy::too_many_arguments)]
// Aggressive but necessary - there aren't many usages.
#[inline(always)]
fn check_ability_specialization(
arena: &Bump,
subs: &mut Subs,