Cookcademy 3 - question about an error message

Hi everyone, I’m getting Failed to produce diagnostic for expression; please submit a bug report ( - Contributing) error in some View line(I even copy pasted all the code, still getting same error). I’m stuck here, how can I bypass this error and why exactly is it shown?

import SwiftUI

struct RecipeCategoryGridView: View {
  private var recipeData = RecipeData()
  var body: some View {
    NavigationView {
      LazyVGrid(columns: [GridItem()], content: {
                id: \.self) { category in

struct RecipeCategoryGridView_Previews: PreviewProvider {
  static var previews: some View {

found my answer. Thanks