# File lib/rake/application.rb, line 575
575:     def const_warning(const_name)
576:       @const_warning ||= false
577:       if ! @const_warning
578:         $stderr.puts %{WARNING: Deprecated reference to top-level constant '#{const_name}' } +
579:           %{found at: #{rakefile_location}} # '
580:         $stderr.puts %{    Use --classic-namespace on rake command}
581:         $stderr.puts %{    or 'require "rake/classic_namespace"' in Rakefile}
582:       end
583:       @const_warning = true
584:     end