You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#![feature(optin_builtin_traits)]use std::marker::MarkerTrait;unsafetraitPod:MarkerTrait{}unsafeimplPodfor .. {}traitBound:MarkerTrait{}// it seems that the bound is ignored here, i.e. this gets treated as `impl<T> !Pod for T {}`impl<T:Bound> !PodforT{}fnis_pod<T:Pod>(_:T){}fnmain(){is_pod(0i32);// `i32` doesn't implement `Bound`, so it should be `Pod`is_pod(&0i32);// likewise here}