about summary refs log tree commit diff
path: root/src/test/compile-fail/bind-parameterized-args.rs
blob: 970dbb94af9b6282140d7fde8b85fa51806ed802 (plain)
1
2
3
4
5
6
7
8
9
10
// xfail-stage0
// error-pattern:Bind arguments with types containing parameters must be
fn main() {
  fn echo[T](int c, vec[T] x) {
  }

  let fn(vec[int]) -> () y = bind echo(42, _);

  y([1]);
}