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
for(color_index, bc) in colors.basic_colors.iter().enumerate(){
118
113
let color_str = &format!("Color::{:?}", bc );
119
-
assert!( !color_str.contains("TrueColor")," language {} has true color {} in basic colors at index {} please change to a basic color: Black, Red, Green, Yellow, Blue, Magenta, Cyan, White, BrightBlack, BrightRed, BrightGreen, BrightYellow, BrightBlue, BrightMagenta, BrightCyan, BrightWhite", $display, color_str, color_index );
120
-
color_index = color_index + 1;
114
+
ifletColor::TrueColor{ .. } = bc {
115
+
panic!("TrueColor found in basic_colors for {} at index {} found {}", stringify!( $name ), color_index, color_str );
0 commit comments