Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
pub fn outer_logic() {
// This module declaration is hidden inside a function.
// Hermes must NOT load `hidden.rs`.
#[path = "hidden.rs"]
mod hidden;
mod inner {
// Despite living in `mod inner`, `inner` itself is hidden inside a
// function. Hermes must reject all annotated items inside `mod hidden`.
#[path = "hidden.rs"]
mod hidden;
}
}

/// ```lean
Expand Down
Loading