mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Use minicore
This commit is contained in:
parent
5a3c3a029c
commit
f64aacc0c1
3 changed files with 27 additions and 84 deletions
|
@ -31,6 +31,7 @@
|
|||
//! eq: sized
|
||||
//! ord: eq, option
|
||||
//! derive:
|
||||
//! fmt:
|
||||
|
||||
pub mod marker {
|
||||
// region:sized
|
||||
|
@ -334,6 +335,17 @@ pub mod cmp {
|
|||
}
|
||||
// endregion:eq
|
||||
|
||||
// region:fmt
|
||||
pub mod fmt {
|
||||
pub struct Error;
|
||||
pub type Result = Result<(), Error>;
|
||||
pub struct Formatter<'a>;
|
||||
pub trait Debug {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> Result;
|
||||
}
|
||||
}
|
||||
// endregion:fmt
|
||||
|
||||
// region:slice
|
||||
pub mod slice {
|
||||
#[lang = "slice"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue