txt: ## nopackage.md
  class X::Attribute::NoPackage
  
  Compilation error due to declaring an attribute outside of a package
  
  ```raku
  class X::Attribute::NoPackage does X::Comp { }
  ```
  
  Compile time error thrown when an attribute is declared where it does not make sense (for example in the mainline).
  
  For example
  
  ```raku
  has $.x;
  
  ```
  
  Dies with
  
  ｢text｣ without highlighting
  
  ```
  
  
  ```
  
  You cannot declare attribute '$.x' here; maybe you'd like a class or a role?
  
  
  ```
  
  
  ```
  
  # [Methods](#class_X::Attribute::NoPackage "go to top of document")[§](#Methods "direct link")
  
  ## [method name](#class_X::Attribute::NoPackage "go to top of document")[§](#method_name "direct link")
  
  ```raku
  method name(--> Str:D)
  ```
  
  Returns the name of the attribute
  