]>
Commit | Line | Data |
---|---|---|
0531ce1d XL |
1 | // If the unstable API is the only possible solution, |
2 | // still emit E0658 "use of unstable library feature". | |
3 | ||
4 | // aux-build:inference_unstable_iterator.rs | |
5 | ||
6 | extern crate inference_unstable_iterator; | |
7 | ||
8 | use inference_unstable_iterator::IpuIterator; | |
9 | ||
a7813a04 | 10 | fn main() { |
0531ce1d | 11 | assert_eq!('x'.ipu_flatten(), 0); //~ ERROR E0658 |
54a0048b | 12 | } |