]> git.proxmox.com Git - rustc.git/blame - src/test/ui/inference/inference_unstable_forced.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / inference / inference_unstable_forced.rs
CommitLineData
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
6extern crate inference_unstable_iterator;
7
8use inference_unstable_iterator::IpuIterator;
9
a7813a04 10fn main() {
0531ce1d 11 assert_eq!('x'.ipu_flatten(), 0); //~ ERROR E0658
54a0048b 12}