diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2018-04-27 07:20:46 +0200 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2018-04-27 12:34:01 +0200 |
| commit | 5f2c111165371b1e59fec9cd90e364ccf08b68ef (patch) | |
| tree | cb2778e11461f77953bac15924e43630af62682b /src/test/compile-fail/attr-usage-inline.rs | |
| parent | 9822b5709ca78d6398e9ae609de0181116e8b0db (diff) | |
Allow #[inline] on closures
Fixes #49632
Diffstat (limited to 'src/test/compile-fail/attr-usage-inline.rs')
| -rw-r--r-- | src/test/compile-fail/attr-usage-inline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/attr-usage-inline.rs b/src/test/compile-fail/attr-usage-inline.rs index c6b9b016331..250905dbdcd 100644 --- a/src/test/compile-fail/attr-usage-inline.rs +++ b/src/test/compile-fail/attr-usage-inline.rs @@ -13,7 +13,7 @@ #[inline] fn f() {} -#[inline] //~ ERROR: attribute should be applied to function +#[inline] //~ ERROR: attribute should be applied to function or closure struct S; fn main() {} |
