about summary refs log tree commit diff
path: root/tests/ui/closures/impl-closure-147146.stderr
blob: 6da16b5d450fdd6d0ea6ea270b4ff5f76a06d776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0516]: `typeof` is a reserved keyword but unimplemented
  --> $DIR/impl-closure-147146.rs:1:6
   |
LL | impl typeof(|| {}) {}
   |      ^^^^^^^^^^^^^ reserved keyword

error[E0516]: `typeof` is a reserved keyword but unimplemented
  --> $DIR/impl-closure-147146.rs:4:22
   |
LL | unsafe impl Send for typeof(|| {}) {}
   |                      ^^^^^^^^^^^^^ reserved keyword

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0516`.