summaryrefslogtreecommitdiffstats
path: root/tests/ui/offset-of/offset-of-inference.stderr
blob: 2a520f6f906940746037d996e37f7cb81c3e0e0c (plain)
1
2
3
4
5
6
7
8
9
error[E0282]: type annotations needed
  --> $DIR/offset-of-inference.rs:10:35
   |
LL |     let _ = core::mem::offset_of!(Foo<_>, x);
   |                                   ^^^^^^ cannot infer type

error: aborting due to previous error

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