]> git.lizzy.rs Git - rust.git/commit
Merge #7366
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 20 Jan 2021 22:07:38 +0000 (22:07 +0000)
committerGitHub <noreply@github.com>
Wed, 20 Jan 2021 22:07:38 +0000 (22:07 +0000)
commit70f7a10013775c1dce10b0d7a7724a48bb76b065
tree2f3c97e5f45a8579cc860dc9a57123dbb5302b8b
parent7d5ed18c42c4ee80e776d04254d69750b70e14ba
parent82146737acc74b2483f39f1dd0ae4dfffcfda824
Merge #7366

7366: Treat BlockExpr as a potential module origin r=jonas-schievink a=jonas-schievink

A block containing inner items acts like the root module of a crate, so it needs to be representable as a `ModuleSource` and `ModuleOrigin`.

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>