# File lib/sass/tree/visitors/check_nesting.rb, line 52
  def invalid_extend_parent?(parent, child)
    unless is_any_of?(parent, INVALID_EXTEND_PARENTS)
      "Extend directives may only be used within rules."
    end
  end