If you have a pokemon with the ability Vital Spirit, then you use Rest, what will happen? Will the pokemon not even be able to learn rest? Will it use Rest, then wake up immediately afterwards? Will it say,"But it failed!" Prease Help!
If a pokemon with vital spirit uses rest, it will fail, simple as that.