Fix fail => panic, static => const and cfg patterns
Merge pull request #94 from Jurily/master

Fix fail => panic, static => const and cfg patterns