File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ #![ crate_type = "lib" ]  
2+ #![ doc( as_ptr) ]   //~ ERROR 
3+ 
4+ #[ doc( as_ptr) ]   //~ ERROR 
5+ pub  fn  foo ( )  { } 
Original file line number Diff line number Diff line change 1+ error: unknown `doc` attribute `as_ptr`
2+   --> $DIR/doc-attr.rs:4:7
3+    |
4+ LL | #[doc(as_ptr)]
5+    |       ^^^^^^
6+ 
7+ error: unknown `doc` attribute `as_ptr`
8+   --> $DIR/doc-attr.rs:2:8
9+    |
10+ LL | #![doc(as_ptr)]
11+    |        ^^^^^^
12+ 
13+ error: aborting due to 2 previous errors
14+ 
Original file line number Diff line number Diff line change 1+ #![ crate_type = "lib" ]  
2+ #![ doc( as_ptr) ]   //~ ERROR 
3+ 
4+ #[ doc( as_ptr) ]   //~ ERROR 
5+ pub  fn  foo ( )  { } 
Original file line number Diff line number Diff line change 1+ error: unknown `doc` attribute `as_ptr`
2+   --> $DIR/doc-attr.rs:4:7
3+    |
4+ LL | #[doc(as_ptr)]
5+    |       ^^^^^^
6+ 
7+ error: unknown `doc` attribute `as_ptr`
8+   --> $DIR/doc-attr.rs:2:8
9+    |
10+ LL | #![doc(as_ptr)]
11+    |        ^^^^^^
12+ 
13+ error: aborting due to 2 previous errors
14+ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments