]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/feature-gate-i128_type2.rs
remove unneeded import
[rust.git] / src / test / ui / feature-gate-i128_type2.rs
index d3bd810ceb2b439100018e9ab621cf1c3e6d4e7f..cd65b9d922337345dcfbc457d10d8e3b8831059c 100644 (file)
 
 // gate-test-i128_type
 
-fn test1() -> i128 { //~ ERROR 128-bit type is unstable
+fn test1() -> i128 {
     0
 }
 
-fn test1_2() -> u128 { //~ ERROR 128-bit type is unstable
+fn test1_2() -> u128 {
     0
 }
 
 fn test3() {
-    let x: i128 = 0; //~ ERROR 128-bit type is unstable
+    let x: i128 = 0;
 }
 
 fn test3_2() {
-    let x: u128 = 0; //~ ERROR 128-bit type is unstable
+    let x: u128 = 0;
 }
 
 #[repr(u128)]
 enum A { //~ ERROR 128-bit type is unstable
     A(u64)
 }
+
+fn main() {}