Move trait into attr so it's greppable
This commit is contained in:
parent
9c25823bb4
commit
a9dbf63087
31 changed files with 91 additions and 80 deletions
|
@ -28,8 +28,8 @@ use std::fmt;
|
|||
|
||||
use crate::errors;
|
||||
|
||||
#[extension]
|
||||
impl RegionExt for ResolvedArg {
|
||||
#[extension(trait RegionExt)]
|
||||
impl ResolvedArg {
|
||||
fn early(param: &GenericParam<'_>) -> (LocalDefId, ResolvedArg) {
|
||||
debug!("ResolvedArg::early: def_id={:?}", param.def_id);
|
||||
(param.def_id, ResolvedArg::EarlyBound(param.def_id.to_def_id()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue