Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format component size_of_test #21661

Merged
merged 1 commit into from Sep 10, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Format component size_of_test

  • Loading branch information
chansuke committed Sep 10, 2018
commit 52a11d8237a631e92c86a80f4e24f6c7a0a8e091
@@ -13,16 +13,22 @@ macro_rules! size_of_test {
panic!(
"Your changes have decreased the stack size of {} from {} to {}. \
Good work! Please update the expected size in {}.",
stringify!($t), old, new, file!()
stringify!($t),
old,
new,
file!()
)
} else if new > old {
panic!(
"Your changes have increased the stack size of {} from {} to {}. \
Please consider choosing a design which avoids this increase. \
If you feel that the increase is necessary, update the size in {}.",
stringify!($t), old, new, file!()
stringify!($t),
old,
new,
file!()
)
}
}
}
};
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.