# File lib/sass/tree/visitors/check_nesting.rb, line 59
  def invalid_function_parent?(parent, child)
    "Functions may only be defined at the root of a document." unless parent.is_a?(Sass::Tree::RootNode)
  end