Merge #11209
11209: minor: Use`const _` instead of `mod __` r=jonas-schievink a=jonas-schievink We now handle it correctly bors r+ Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
This commit is contained in:
commit
4a1e4eed65
@ -445,13 +445,10 @@ fn syntax(&self) -> &SyntaxNode {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod __ {
|
const _: () = {
|
||||||
use super::{
|
use ast::{Lifetime, Name, NameRef};
|
||||||
ast::{Lifetime, Name, NameRef},
|
|
||||||
NameLike,
|
|
||||||
};
|
|
||||||
stdx::impl_from!(NameRef, Name, Lifetime for NameLike);
|
stdx::impl_from!(NameRef, Name, Lifetime for NameLike);
|
||||||
}
|
};
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub enum NameOrNameRef {
|
pub enum NameOrNameRef {
|
||||||
|
Loading…
Reference in New Issue
Block a user