diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-07-01 12:30:27 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-07-01 12:30:27 -0700 |
| commit | 021b203fc6f0c45d73f12da058ffbd227a0de3e0 (patch) | |
| tree | dada0c37bf7f052ae12865737a4f845600b92a79 /src/comp | |
| parent | 22be98264e7af16d1869348e938de5b3bcd401a7 (diff) | |
| download | rust-021b203fc6f0c45d73f12da058ffbd227a0de3e0.tar.gz rust-021b203fc6f0c45d73f12da058ffbd227a0de3e0.zip | |
Add some logging to attr when reading crate link attributes
Only link attributes of the meta_list type are considered when matching crate attributes. Instead of doing nothing we can at least log that link attributes of other types were ignored.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/front/attr.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/front/attr.rs b/src/comp/front/attr.rs index 25fdcdb5faa..e29e5c95de7 100644 --- a/src/comp/front/attr.rs +++ b/src/comp/front/attr.rs @@ -28,8 +28,7 @@ fn find_linkage_metas(vec[ast::attribute] attrs) -> vec[@ast::meta_item] { metas += items; } case (_) { - // FIXME: Maybe need a warning that this attr isn't - // being used for linkage + log "ignoring link attribute that has incorrect type"; } } } |
