mirror of
				https://github.com/serde-rs/serde.git
				synced 2025-11-04 07:24:31 +00:00 
			
		
		
		
	Fix serde:🇩🇪:StdError in no-std unstable build
This commit is contained in:
		
							parent
							
								
									7b09cccd77
								
							
						
					
					
						commit
						92d686f9a5
					
				@ -126,10 +126,13 @@ mod utf8;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
pub use self::ignored_any::IgnoredAny;
 | 
					pub use self::ignored_any::IgnoredAny;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#[cfg(all(feature = "unstable", not(feature = "std")))]
 | 
				
			||||||
 | 
					#[doc(no_inline)]
 | 
				
			||||||
 | 
					pub use core::error::Error as StdError;
 | 
				
			||||||
#[cfg(feature = "std")]
 | 
					#[cfg(feature = "std")]
 | 
				
			||||||
#[doc(no_inline)]
 | 
					#[doc(no_inline)]
 | 
				
			||||||
pub use std::error::Error as StdError;
 | 
					pub use std::error::Error as StdError;
 | 
				
			||||||
#[cfg(not(feature = "std"))]
 | 
					#[cfg(not(any(feature = "std", feature = "unstable")))]
 | 
				
			||||||
#[doc(no_inline)]
 | 
					#[doc(no_inline)]
 | 
				
			||||||
pub use std_error::Error as StdError;
 | 
					pub use std_error::Error as StdError;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user