We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba5219 commit 879299fCopy full SHA for 879299f
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 1e8f501343299e41cc27fb2eb14ec90b625fd6f6
+refs/heads/master: a405ff9bf60dc3e0bc516322e61e5a0125791b2f
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/src/rustc/middle/lint.rs
@@ -207,7 +207,7 @@ impl methods for ctxt {
207
// if many attributes are set, but this shouldn't
208
// actually be a problem...
209
new_ctxt = {is_default: false,
210
- curr: clone_lint_modes(self.curr)
+ curr: clone_lint_modes(new_ctxt.curr)
211
with new_ctxt};
212
new_ctxt.set_level(lint, new_level);
213
}
0 commit comments