C# Parsing Error and Unexpected Symbol

I continue to get there errors with no idea as to why.

Assets/Scripts/Laser.cs(22,1): error CS8025: Parsing error

Assets/Scripts/Laser.cs(20,17): error CS1525: Unexpected symbol `}’

My script is named Laser.cs

Here’s the code:

using UnityEngine;
using System.Collections;
 
public class Laser: MonoBehaviour 
{
	private Ray ray;
	private RaycastHit hit = new RaycastHit();
	private Transform Trans;
	void LateUpdate () 
	{
		ray = new Ray(Trans.position, Vector3.left);
		if(Physics.Raycast(ray.origin, ray.direction, out hit, 10))
		{
			Debug.Log(hit.collider.name);
			Debug.Log(hit.distance);
		}
		else
		{
			Debug.Log("No collision.")
		}
	}
}

Any help would be greatly appreciated.

Also, this is my first post, hello everyone!

You are missing a ‘;’ on line 19. It should be:

Debug.Log(“No collision.”);