::foo
  ^ expected a constant after the `::` operator
  ^~~ unexpected local variable or method, expecting end-of-input

