summaryrefslogtreecommitdiff
path: root/libbindgen/src/ir/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/src/ir/context.rs')
-rw-r--r--libbindgen/src/ir/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbindgen/src/ir/context.rs b/libbindgen/src/ir/context.rs
index 3ffe50c8..5a94dd40 100644
--- a/libbindgen/src/ir/context.rs
+++ b/libbindgen/src/ir/context.rs
@@ -226,7 +226,7 @@ impl<'ctx> BindgenContext<'ctx> {
} else if let Some(usr) = declaration.usr() {
TypeKey::USR(usr)
} else {
- error!("Valid declaration with no USR: {:?}, {:?}",
+ warn!("Valid declaration with no USR: {:?}, {:?}",
declaration,
location);
TypeKey::Declaration(declaration)