mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Auto merge of #143879 - fee1-dead-contrib:push-lrlpoouyqqry, r=fmease
parse `const trait Trait` r? oli-obk or anyone from project-const-traits cc `@rust-lang/project-const-traits`
This commit is contained in:
commit
9e04ab69c7
@ -1011,8 +1011,7 @@ pub mod ops {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[lang = "add_assign"]
|
#[lang = "add_assign"]
|
||||||
#[const_trait]
|
pub const trait AddAssign<Rhs = Self> {
|
||||||
pub trait AddAssign<Rhs = Self> {
|
|
||||||
fn add_assign(&mut self, rhs: Rhs);
|
fn add_assign(&mut self, rhs: Rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user