File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed 
compiler/rustc_error_codes/src/error_codes Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1- A  feature name  is missing.
1+ The  ` feature `  value  is missing in a stability attribute .
22
33Erroneous code example:
44
@@ -13,7 +13,7 @@ fn unstable_fn() {}
1313fn stable_fn() {} 
1414``` 
1515
16- To fix the issue you need to provide a  feature name .
16+ To fix the issue you need to provide the  ` feature `  field .
1717
1818``` 
1919#![feature(staged_api)] 
@@ -25,3 +25,10 @@ fn unstable_fn() {}
2525#[stable(feature = "stable_fn", since = "1.0.0")] // ok! 
2626fn stable_fn() {} 
2727``` 
28+ 
29+ See the [ How Rust is Made and “Nightly Rust”] [ how-rust-made-nightly ]  appendix
30+ of the Book and the [ Stability attributes] [ stability-attributes ]  section of the
31+ Rustc Dev Guide for more details.
32+ 
33+ [ how-rust-made-nightly ] : https://doc.rust-lang.org/book/appendix-07-nightly-rust.html 
34+ [ stability-attributes ] : https://rustc-dev-guide.rust-lang.org/stability.html 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments