Make warning for default_default include info on how to shut it up
[gitmo/Moose.git] / lib / Moose / Meta / Attribute / Native / Trait.pm
index 1eb2fc7..de59416 100644 (file)
@@ -44,7 +44,8 @@ before '_process_options' => sub {
         Moose::Deprecated::deprecated(
             feature => 'default default for Native Trait',
             message =>
-                'Allowing a native trait to automatically supply a default is deprecated'
+                'Allowing a native trait to automatically supply a default is deprecated.'
+                . ' You can avoid this warning by supply a default, builder, or making the attribute required'
         );
     }
 };