Skip to content

Conversation

@Veykril
Copy link
Member

@Veykril Veykril commented Dec 14, 2020

No description provided.

@Veykril Veykril changed the title Change HasChildSourece::ChildId assoc item to generic param Change HasChildSource::ChildId assoc item to generic param Dec 14, 2020
pub struct SourceMaps {
pub type_params: ArenaMap<LocalTypeParamId, Either<ast::Trait, ast::TypeParam>>,
pub lifetime_params: ArenaMap<LocalLifetimeParamId, ast::LifetimeParam>,
pub(crate) struct SourceMaps {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub(crate) struct SourceMaps {
pub(crate) struct SourceMap {

a source map can be heterogeneous (see BodySourceMap)

Copy link
Contributor

@matklad matklad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me with SourceMaps singularaized

@Veykril
Copy link
Member Author

Veykril commented Dec 15, 2020

bors r=matklad

@bors
Copy link
Contributor

bors bot commented Dec 15, 2020

@bors bors bot merged commit eb9ba45 into rust-lang:master Dec 15, 2020
@Veykril Veykril deleted the childbysource branch December 14, 2021 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants