File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
trunk/src/librustc/middle Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 81350327790fa7bfacb7c32603ca61eb0004b5b2
2
+ refs/heads/master: 342e8b59be97c28be38d54bec10e511ae17da129
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: e263ef1df7b892ed29e53313565eb05ab75e52f4
5
5
refs/heads/try: 597a645456b55e1c886ce15d23a192abdf4d55cf
Original file line number Diff line number Diff line change @@ -1063,7 +1063,7 @@ fn check_attrs_usage(cx: &Context, attrs: &[ast::Attribute]) {
1063
1063
if name. equiv ( crate_attr) {
1064
1064
let msg = match attr. node . style {
1065
1065
ast:: AttrOuter => "crate-level attribute should be an inner attribute: \
1066
- add semicolon at end ",
1066
+ add an exclamation mark: #![foo] ",
1067
1067
ast:: AttrInner => "crate-level attribute should be in the root module" ,
1068
1068
} ;
1069
1069
cx. span_lint ( AttributeUsage , attr. span , msg) ;
You can’t perform that action at this time.
0 commit comments