Forbid local fun variables in Core Erlang guards
Forbid local fun variables in Core Erlang guards

Local fun variables are disallowed in both Erlang and Core Erlang guards
but core_lint doesn't detect this kind of error, making the compilation
fail later in the BEAM assembly generation. A guard is added to only
allow #c_var{} terms where the name is an atom or an integer, which is
the type used by the inliner when introducing new variables.

stolen/otp,g-andrade/otp,tuncer/otp,g-andrade/otp,benoitc/otp-1,lianghaivv/otp,jinshana/otp,beni55/otp,beni55/otp,RichMorin/otp,Teino1978-Corp/otp,potatosalad/otp,emile/otp,mikpe/otp,Teino1978-Corp/erlang-otp,dumbbell/otp,falkevik/otp,dgud/otp,bugs-erlang-org/otp,dgud/otp,vladdu/otp,cobusc/otp,enikki/otp,bernardd/otp,cnbin/otp,vinoski/otp,jj1bdx/otp,matwey/otp,aboroska/otp,vladdu/otp,saleyn/otp,vladdu/otp,kvakvs/otp,isvilen/otp,yangchengjian/otp,rlipscombe/otp,emile/otp,getong/otp,lightcyphers/otp,RichMorin/otp,fenollp/otp,falkevik/otp,electricimp/otp,jemsbhai/otp,getong/otp,krishnakumar4a4/otp,Teino1978-Corp/erlang-otp,enikki/otp,g-andrade/otp,mikpe/otp,getong/otp,mikpe/otp,paulcager/otp,vic/otp,lemenkov/otp,vic/otp,RGafiyatullin/otp,hairyhum/otp,potatosalad/otp,cnbin/otp,derek121/otp,jinshana/otp,enikki/otp,jinshana/otp,klarna/otp,c-rack/otp,potatosalad/otp,vic/otp,weisslj/otp,cnbin/otp,stolen/otp,lrascao/otp,potatosalad/otp,beni55/otp,bernardd/otp,johanclaesson/otp,lightcyphers/otp,sitexa/otp,NOMORECOFFEE/otp,goertzenator/otp,Teino1978-Corp/otp,getong/otp,tuncer/otp,matwey/otp,RoadRunnr/otp,lianghaivv/otp,psyeugenic/otp,RoadRunnr/otp,jemsbhai/otp,lhslll/otp,erlang/otp,release-project/otp,legoscia/otp,RaimoNiskanen/otp,kvakvs/otp,fenollp/otp,GinjaNinja32/otp,msantos/otp,lianghaivv/otp,jamesruan/otp,neeraj9/otp,lrascao/otp,marquisthunder/otp,schlagert/otp,GinjaNinja32/otp,isvilen/otp,g-andrade/otp,haguenau/otp,basho/otp,aboroska/otp,ader1990/otp,cobusc/otp,dgud/otp,massemanet/otp,ahmedshafeeq/otp,johanclaesson/otp,theom/otp,lhslll/otp,NOMORECOFFEE/otp,electricimp/otp,jamesruan/otp,sdebnath/otp,RGafiyatullin/otp,matwey/otp,jinshana/otp,electricimp/otp,benoitc/otp-1,derek121/otp,fenollp/otp,lemenkov/otp,dgud/otp,bsmr-erlang/otp,schlagert/otp,NOMORECOFFEE/otp,lhslll/otp,GinjaNinja32/otp,stolen/otp,tuncer/otp,getong/otp,ahmedshafeeq/otp,RichMorin/otp,ferd/otp,vinoski/otp,dumbbell/otp,ferd/otp,lemenkov/otp,sammoth-wazoku/otp,awetzel/otp,sammoth-wazoku/otp,paulcager/otp,lemenkov/otp,legoscia/otp,release-project/otp,lrascao/otp,lianghaivv/otp,sdebnath/otp,psyeugenic/otp,ferd/otp,basho/otp,riverrun/otp,g-andrade/otp,emacsmirror/erlang,falkevik/otp,riverrun/otp,mikpe/otp,uabboli/otp,RGafiyatullin/otp,erlang/otp,vic/otp,goertzenator/otp,ahmedshafeeq/otp,tuncer/otp,neeraj9/otp,awetzel/otp,bjorng/otp,psyeugenic/otp,VincentHHL/otp,uabboli/otp,palas/otp,vinoski/otp,theom/otp,tuncer/otp,potatosalad/otp,vinoski/otp,paladim/otp,bsmr-erlang/otp,emacsmirror/erlang,falkevik/otp,rlipscombe/otp,theom/otp,cnbin/otp,derek121/otp,Teino1978-Corp/erlang-otp,GinjaNinja32/otp,lucafavatella/otp,c-rack/otp,jamesruan/otp,ader1990/otp,marquisthunder/otp,tuncer/otp,entropiae/otp,jj1bdx/otp,ader1990/otp,fenollp/otp,bugs-erlang-org/otp,klarna/otp,johanclaesson/otp,jinshana/otp,legoscia/otp,kvakvs/otp,klarna/otp,massemanet/otp,lemenkov/otp,erlang/otp,emile/otp,bugs-erlang-org/otp,vladdu/otp,bernardd/otp,gjaldon/otp,falkevik/otp,neeraj9/otp,lrascao/otp,weisslj/otp,jemsbhai/otp,lantti/otp,uabboli/otp,RoadRunnr/otp,klarna/otp,RGafiyatullin/otp,vic/otp,entropiae/otp,tuncer/otp,haguenau/otp,fenollp/otp,lianghaivv/otp,mikpe/otp,goertzenator/otp,RaimoNiskanen/otp,RaimoNiskanen/otp,awetzel/otp,tuncer/otp,lucafavatella/otp,VincentHHL/otp,Teino1978-Corp/otp,psyeugenic/otp,vic/otp,RJ/otp,msantos/otp,saleyn/otp,cobusc/otp,cobusc/otp,sitexa/otp,yangchengjian/otp,vinoski/otp,RoadRunnr/otp,massemanet/otp,gjaldon/otp,palas/otp,jemsbhai/otp,psyeugenic/otp,bjorng/otp,electricimp/otp,bsmr-erlang/otp,marquisthunder/otp,hairyhum/otp,lucafavatella/otp,ferd/otp,goertzenator/otp,marquisthunder/otp,benoitc/otp-1,msantos/otp,RichMorin/otp,mujiatong/otp,lantti/otp,RoadRunnr/otp,awetzel/otp,potatosalad/otp,sammoth-wazoku/otp,isvilen/otp,psyeugenic/otp,RJ/otp,ahmedshafeeq/otp,uabboli/otp,haguenau/otp,mujiatong/otp,legoscia/otp,awetzel/otp,gjaldon/otp,riverrun/otp,saleyn/otp,RJ/otp,klarna/otp,RGafiyatullin/otp,neeraj9/otp,isvilen/otp,ader1990/otp,bernardd/otp,getong/otp,RaimoNiskanen/otp,sitexa/otp,dgud/otp,yangchengjian/otp,platinumthinker/otp,stolen/otp,VincentHHL/otp,RoadRunnr/otp,dumbbell/otp,beni55/otp,saleyn/otp,Teino1978-Corp/erlang-otp,schlagert/otp,matwey/otp,awetzel/otp,lantti/otp,bugs-erlang-org/otp,paulcager/otp,GinjaNinja32/otp,uabboli/otp,bsmr-erlang/otp,johanclaesson/otp,electricimp/otp,lrascao/otp,RichMorin/otp,mujiatong/otp,neeraj9/otp,cnbin/otp,enikki/otp,mikpe/otp,emacsmirror/erlang,aboroska/otp,ferd/otp,saleyn/otp,jamesruan/otp,c-rack/otp,ader1990/otp,krishnakumar4a4/otp,enikki/otp,jj1bdx/otp,cobusc/otp,rlipscombe/otp,ferd/otp,jemsbhai/otp,palas/otp,release-project/otp,Teino1978-Corp/otp,c-rack/otp,Teino1978-Corp/erlang-otp,gjaldon/otp,potatosalad/otp,isvilen/otp,lightcyphers/otp,Teino1978-Corp/otp,RaimoNiskanen/otp,g-andrade/otp,goertzenator/otp,vic/otp,mikpe/otp,isvilen/otp,paladim/otp,msantos/otp,legoscia/otp,entropiae/otp,aboroska/otp,dumbbell/otp,emile/otp,jamesruan/otp,lucafavatella/otp,krishnakumar4a4/otp,release-project/otp,c-rack/otp,dgud/otp,RGafiyatullin/otp,sammoth-wazoku/otp,vinoski/otp,RJ/otp,theom/otp,emile/otp,krishnakumar4a4/otp,yangchengjian/otp,vinoski/otp,weisslj/otp,paladim/otp,basho/otp,jj1bdx/otp,weisslj/otp,cnbin/otp,lrascao/otp,bjorng/otp,haguenau/otp,jj1bdx/otp,bugs-erlang-org/otp,dgud/otp,gjaldon/otp,ahmedshafeeq/otp,yangchengjian/otp,dumbbell/otp,sammoth-wazoku/otp,lrascao/otp,tuncer/otp,dumbbell/otp,isvilen/otp,johanclaesson/otp,jinshana/otp,johanclaesson/otp,dumbbell/otp,RoadRunnr/otp,emacsmirror/erlang,ferd/otp,legoscia/otp,ahmedshafeeq/otp,weisslj/otp,enikki/otp,fenollp/otp,release-project/otp,kvakvs/otp,aboroska/otp,stolen/otp,RGafiyatullin/otp,release-project/otp,lantti/otp,bsmr-erlang/otp,cnbin/otp,VincentHHL/otp,aboroska/otp,jamesruan/otp,lantti/otp,lantti/otp,beni55/otp,saleyn/otp,emacsmirror/erlang,gjaldon/otp,RGafiyatullin/otp,hairyhum/otp,weisslj/otp,c-rack/otp,jinshana/otp,bernardd/otp,bernardd/otp,stolen/otp,Teino1978-Corp/otp,NOMORECOFFEE/otp,benoitc/otp-1,jamesruan/otp,massemanet/otp,aboroska/otp,emile/otp,vladdu/otp,gjaldon/otp,aboroska/otp,derek121/otp,bjorng/otp,bjorng/otp,goertzenator/otp,platinumthinker/otp,c-rack/otp,isvilen/otp,lrascao/otp,sitexa/otp,getong/otp,bsmr-erlang/otp,jj1bdx/otp,theom/otp,goertzenator/otp,getong/otp,jamesruan/otp,vinoski/otp,lhslll/otp,g-andrade/otp,matwey/otp,lightcyphers/otp,GinjaNinja32/otp,getong/otp,emile/otp,jemsbhai/otp,stolen/otp,haguenau/otp,platinumthinker/otp,falkevik/otp,dgud/otp,RaimoNiskanen/otp,erlang/otp,falkevik/otp,derek121/otp,massemanet/otp,lightcyphers/otp,lhslll/otp,lucafavatella/otp,erlang/otp,RaimoNiskanen/otp,RJ/otp,bsmr-erlang/otp,emile/otp,bsmr-erlang/otp,benoitc/otp-1,matwey/otp,cobusc/otp,mikpe/otp,c-rack/otp,vinoski/otp,sitexa/otp,awetzel/otp,kvakvs/otp,legoscia/otp,entropiae/otp,bernardd/otp,hairyhum/otp,schlagert/otp,emile/otp,entropiae/otp,rlipscombe/otp,enikki/otp,NOMORECOFFEE/otp,GinjaNinja32/otp,mujiatong/otp,enikki/otp,awetzel/otp,lianghaivv/otp,matwey/otp,RJ/otp,legoscia/otp,platinumthinker/otp,Teino1978-Corp/erlang-otp,krishnakumar4a4/otp,marquisthunder/otp,jinshana/otp,ahmedshafeeq/otp,ahmedshafeeq/otp,fenollp/otp,yangchengjian/otp,NOMORECOFFEE/otp,lhslll/otp,bugs-erlang-org/otp,schlagert/otp,lantti/otp,lhslll/otp,electricimp/otp,entropiae/otp,lucafavatella/otp,weisslj/otp,sitexa/otp,bernardd/otp,RJ/otp,bernardd/otp,msantos/otp,goertzenator/otp,rlipscombe/otp,ferd/otp,marquisthunder/otp,rlipscombe/otp,klarna/otp,marquisthunder/otp,RoadRunnr/otp,ader1990/otp,klarna/otp,bjorng/otp,bjorng/otp,hairyhum/otp,paulcager/otp,VincentHHL/otp,sdebnath/otp,jj1bdx/otp,rlipscombe/otp,saleyn/otp,fenollp/otp,psyeugenic/otp,massemanet/otp,paladim/otp,emacsmirror/erlang,vinoski/otp,schlagert/otp,NOMORECOFFEE/otp,riverrun/otp,uabboli/otp,stolen/otp,vic/otp,entropiae/otp,uabboli/otp,RaimoNiskanen/otp,sdebnath/otp,paladim/otp,platinumthinker/otp,matwey/otp,lemenkov/otp,ahmedshafeeq/otp,g-andrade/otp,electricimp/otp,basho/otp,dgud/otp,dumbbell/otp,yangchengjian/otp,benoitc/otp-1,release-project/otp,VincentHHL/otp,uabboli/otp,basho/otp,jemsbhai/otp,paulcager/otp,mujiatong/otp,erlang/otp,basho/otp,VincentHHL/otp,klarna/otp,dgud/otp,massemanet/otp,aboroska/otp,vladdu/otp,potatosalad/otp,mikpe/otp,mujiatong/otp,Teino1978-Corp/otp,sdebnath/otp,potatosalad/otp,neeraj9/otp,bjorng/otp,hairyhum/otp,benoitc/otp-1,Teino1978-Corp/otp,theom/otp,jemsbhai/otp,emacsmirror/erlang,mujiatong/otp,falkevik/otp,massemanet/otp,riverrun/otp,lemenkov/otp,derek121/otp,sitexa/otp,bjorng/otp,lightcyphers/otp,msantos/otp,jj1bdx/otp,erlang/otp,lemenkov/otp,krishnakumar4a4/otp,erlang/otp,erlang/otp,yangchengjian/otp,electricimp/otp,palas/otp,paladim/otp,RoadRunnr/otp,release-project/otp,neeraj9/otp,theom/otp,platinumthinker/otp,uabboli/otp,RJ/otp,sdebnath/otp,g-andrade/otp,sammoth-wazoku/otp,lucafavatella/otp,legoscia/otp,VincentHHL/otp,dumbbell/otp,basho/otp,bugs-erlang-org/otp,psyeugenic/otp,Teino1978-Corp/erlang-otp,Teino1978-Corp/erlang-otp,ader1990/otp,lrascao/otp,schlagert/otp,weisslj/otp,platinumthinker/otp,release-project/otp,krishnakumar4a4/otp,palas/otp,rlipscombe/otp,rlipscombe/otp,lightcyphers/otp,msantos/otp,RichMorin/otp,kvakvs/otp,beni55/otp,paulcager/otp,cnbin/otp,NOMORECOFFEE/otp,paladim/otp,sammoth-wazoku/otp,lhslll/otp,haguenau/otp,paulcager/otp,riverrun/otp,lantti/otp,riverrun/otp,ader1990/otp,isvilen/otp,jj1bdx/otp,fenollp/otp,falkevik/otp,sdebnath/otp,GinjaNinja32/otp,vladdu/otp,emacsmirror/erlang,schlagert/otp,platinumthinker/otp,johanclaesson/otp,vladdu/otp,marquisthunder/otp,palas/otp,lightcyphers/otp,entropiae/otp,sdebnath/otp,bjorng/otp,gjaldon/otp,lucafavatella/otp,emacsmirror/erlang,mujiatong/otp,basho/otp,kvakvs/otp,derek121/otp,RichMorin/otp,paladim/otp,neeraj9/otp,kvakvs/otp,potatosalad/otp,rlipscombe/otp,lianghaivv/otp,bugs-erlang-org/otp,derek121/otp,haguenau/otp,emacsmirror/erlang,benoitc/otp-1,sitexa/otp,g-andrade/otp,kvakvs/otp,weisslj/otp,cobusc/otp,sammoth-wazoku/otp,electricimp/otp,paulcager/otp,RaimoNiskanen/otp,RichMorin/otp,haguenau/otp,mikpe/otp,ferd/otp,beni55/otp,basho/otp,erlang/otp,saleyn/otp,msantos/otp,dumbbell/otp,theom/otp,palas/otp,goertzenator/otp,jj1bdx/otp,hairyhum/otp,massemanet/otp,vladdu/otp,matwey/otp,palas/otp,krishnakumar4a4/otp,cobusc/otp,lianghaivv/otp,riverrun/otp,beni55/otp,isvilen/otp,getong/otp,bsmr-erlang/otp,johanclaesson/otp,hairyhum/otp,saleyn/otp