Skip to content

Commit

Permalink
rustc: Set the exceeding_bitshifts lint to Allow
Browse files Browse the repository at this point in the history
There's currently a bug in it which fires erroneously on cross compiles,
preventing new nightlies from being generated. This can be reset back to Deny
once it's been fixed.

cc #18587
  • Loading branch information
alexcrichton committed Nov 3, 2014
1 parent 01b81c0 commit 768caf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Expand Up @@ -116,7 +116,7 @@ declare_lint!(UNUSED_COMPARISONS, Warn,
declare_lint!(OVERFLOWING_LITERALS, Warn,
"literal out of range for its type")

declare_lint!(EXCEEDING_BITSHIFTS, Deny,
declare_lint!(EXCEEDING_BITSHIFTS, Allow,
"shift exceeds the type's number of bits")

pub struct TypeLimits {
Expand Down

5 comments on commit 768caf1

@bors
Copy link
Contributor

@bors bors commented on 768caf1 Nov 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from jakub-
at alexcrichton@768caf1

@bors
Copy link
Contributor

@bors bors commented on 768caf1 Nov 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging alexcrichton/rust/issue-18587-warn = 768caf1 into auto

@bors
Copy link
Contributor

@bors bors commented on 768caf1 Nov 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alexcrichton/rust/issue-18587-warn = 768caf1 merged ok, testing candidate = 0a5e7f3

@bors
Copy link
Contributor

@bors bors commented on 768caf1 Nov 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 768caf1 Nov 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 0a5e7f3

Please sign in to comment.