summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/permissions/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/permissions/lib.rs b/runtime/permissions/lib.rs
index 3aa5aabb3..71ef7d228 100644
--- a/runtime/permissions/lib.rs
+++ b/runtime/permissions/lib.rs
@@ -40,8 +40,8 @@ pub use prompter::PromptResponse;
#[derive(Debug, thiserror::Error)]
#[error("Requires {access}, {}", format_permission_error(.name))]
pub struct PermissionDeniedError {
- access: String,
- name: &'static str,
+ pub access: String,
+ pub name: &'static str,
}
fn format_permission_error(name: &'static str) -> String {