Semi colon Error

Vector3 Destination = Camera.mainCamera.ScreenToWorldPoint(Input.mousePosition);

Here is a line of code, and im still fairly new but everything else works fine, why does insert semi colon appear in console for this line?
any help would be greatly appreciated

The error probably is in a line before this one - something is missing, and the compiler “thinks” that the wrong line continues in the one you’ve posted. Check this, and if you still can’t find the error, post the relevant code in your question.