{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust-mode/issues/47","labels_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/47/comments","events_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/47/events","html_url":"https://github.com/rust-lang/rust-mode/issues/47","id":60709002,"number":47,"title":"Incorrect indentation with character literal '('","user":{"login":"gsingh93","id":1012677,"avatar_url":"https://avatars.githubusercontent.com/u/1012677?v=3","gravatar_id":"","url":"https://api.github.com/users/gsingh93","html_url":"https://github.com/gsingh93","followers_url":"https://api.github.com/users/gsingh93/followers","following_url":"https://api.github.com/users/gsingh93/following{/other_user}","gists_url":"https://api.github.com/users/gsingh93/gists{/gist_id}","starred_url":"https://api.github.com/users/gsingh93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsingh93/subscriptions","organizations_url":"https://api.github.com/users/gsingh93/orgs","repos_url":"https://api.github.com/users/gsingh93/repos","events_url":"https://api.github.com/users/gsingh93/events{/privacy}","received_events_url":"https://api.github.com/users/gsingh93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-11T18:42:09Z","updated_at":"2015-03-12T03:23:33Z","closed_at":"2015-03-12T03:23:33Z","body":"Using the character literal '(' causes incorrect indentation:\r\n```\r\nfn base(&mut self) -> ParseResult {\r\n    if self.peek() == '(' {\r\n        self.consume('(').unwrap(); // The '(' here seems to be the problem\r\n                     let r = try!(self.regex());\r\n                     self.consume(')').unwrap();\r\n        Ok(r)\r\n    } else {\r\n        Ok(RegEx::Terminal(self.next()))\r\n    }\r\n    }\r\n```\r\nI suspect this problem will occur other character literals but I haven't tested anything else."}}