]>
Commit | Line | Data |
---|---|---|
1a4d82fc | 1 | #![allow(dead_code)] |
223e47cc | 2 | |
85aaf69f | 3 | fn foo<F: Fn()>(mut f: F) { |
5bcae85e SL |
4 | f.call(()); //~ ERROR use of unstable library feature 'fn_traits' |
5 | f.call_mut(()); //~ ERROR use of unstable library feature 'fn_traits' | |
6 | f.call_once(()); //~ ERROR use of unstable library feature 'fn_traits' | |
223e47cc LB |
7 | } |
8 | ||
9 | fn main() {} |