# File lib/rake.rb, line 2192
2192:     def const_warning(const_name)
2193:       @const_warning ||= false
2194:       if ! @const_warning
2195:         $stderr.puts %{WARNING: Deprecated reference to top-level constant '#{const_name}' } +
2196:           %{found at: #{rakefile_location}} # '
2197:         $stderr.puts %{    Use --classic-namespace on rake command}
2198:         $stderr.puts %{    or 'require "rake/classic_namespace"' in Rakefile}
2199:       end
2200:       @const_warning = true
2201:     end