]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | fn main() { |
2 | (0..) | |
3 | .map( | |
4 | #[target_feature(enable = "")] | |
1b1a35ee XL |
5 | //~^ ERROR: attribute should be applied to a function |
6 | //~| ERROR: the feature named `` is not valid for this target | |
7 | //~| NOTE: `` is not valid for this target | |
74b04a01 | 8 | #[track_caller] |
1b1a35ee | 9 | //~^ ERROR: `#[track_caller]` requires Rust ABI [E0737] |
74b04a01 | 10 | |_| (), |
1b1a35ee | 11 | //~^ NOTE: not a function |
74b04a01 XL |
12 | ) |
13 | .next(); | |
14 | } |