File tree Expand file tree Collapse file tree 4 files changed +1
-7
lines changed 
compiler/rustc_fs_util/src Expand file tree Collapse file tree 4 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 1- #![ feature( absolute_path) ]  
2- 
31use  std:: ffi:: CString ; 
42use  std:: fs; 
53use  std:: io; 
Original file line number Diff line number Diff line change @@ -3332,7 +3332,6 @@ impl Error for StripPrefixError {
33323332/// ## Posix paths 
33333333/// 
33343334/// ``` 
3335- /// #![feature(absolute_path)] 
33363335/// # #[cfg(unix)] 
33373336/// fn main() -> std::io::Result<()> { 
33383337///   use std::path::{self, Path}; 
@@ -3357,7 +3356,6 @@ impl Error for StripPrefixError {
33573356/// ## Windows paths 
33583357/// 
33593358/// ``` 
3360- /// #![feature(absolute_path)] 
33613359/// # #[cfg(windows)] 
33623360/// fn main() -> std::io::Result<()> { 
33633361///   use std::path::{self, Path}; 
@@ -3382,7 +3380,7 @@ impl Error for StripPrefixError {
33823380/// 
33833381/// [posix-semantics]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13 
33843382/// [windows-path]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfullpathnamew 
3385- #[ unstable ( feature = "absolute_path" ,  issue  = "92750 " ) ]  
3383+ #[ stable ( feature = "absolute_path" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
33863384pub  fn  absolute < P :  AsRef < Path > > ( path :  P )  -> io:: Result < PathBuf >  { 
33873385    let  path = path. as_ref ( ) ; 
33883386    if  path. as_os_str ( ) . is_empty ( )  { 
Original file line number Diff line number Diff line change 1212#![ feature( let_chains) ]  
1313#![ feature( lint_reasons) ]  
1414#![ feature( trait_upcasting) ]  
15- #![ feature( absolute_path) ]  
1615// Configure clippy and other lints 
1716#![ allow(  
1817    clippy:: collapsible_else_if,  
Original file line number Diff line number Diff line change 11//@compile-flags: -Zmiri-disable-isolation 
2- #![ feature( absolute_path) ]  
32use  std:: path:: { absolute,  Path } ; 
43
54#[ track_caller]  
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments